[Samba] Peculiar Samba permission denied error

Chris Smith smb_77 at chrissmith.org
Tue Jun 15 10:15:28 MDT 2010


On Tue, Jun 15, 2010 at 11:01 AM, Benjamin Allen <ballen at jeffcolib.org> wrote:
> It seems like an obvious error of "Permission denied."

I would go a step further.

Make sure you have a valid username map, for example:
======================================
$ cat /etc/samba/smbusers
root = administrator
nobody = guest
======================================
assuming 'nobody' is your nix guest account, if not define it with the
'guest account' parameter and create/edit the file accordingly

With a corresponding line in the global section of smb.conf:
======================================
username map = /etc/samba/smbusers
======================================

Be sure to keep your:
======================================
map to guest = Bad User
======================================
entry as well.

Then add:
======================================
guest ok = yes
======================================
to the share.

Can you connect then?


More information about the samba mailing list