September 22nd, 2008“This file server does not allow guest access” on OS X Leopard: the solution
If you’re running a Samba v.3 fileserver that has public shares and you can access them fine from a Windows or Linux workstation, but cannot access them from OS X Leopard, here’s how to solve the problem.
Problem: upon connecting to the fileserver via SMB or CIFS, you get prompted for a password, even though the shares are completely public. If you tick the “Guest account” radio button and hit ok, Leopard throws you a “This file server does not allow guest access” message and you cannot access the share.
Solution: in the fileserver’s smb.conf file, edit the following:
- change “security=user” to “security=share”
- comment out “passdb backend = tdbsam” and “obey pam restrictions = yes”
- add a line saying “map to guest = bad user”
- comment out the lines beginning “passwd program =” and “passwd chat = “
- restart samba
No Tags




September 22nd, 2008 at 1:48 pm
Thanks for sharing.
September 26th, 2008 at 12:14 pm
Works like a sham, thanks!
September 14th, 2009 at 8:31 pm
Any one else notice a similar problem with Snow Leopard? I seem to be having a bunch of issues with the new OSX 10.6. Seems like they may have released it a bit early.
September 17th, 2009 at 7:15 am
I did not have to restart samba. maybe I did it wrong.
February 21st, 2010 at 1:32 pm
security=user works fine. I think map to guest is the key.