[Samba] Peculiar Samba permission denied error

Benjamin Allen ballen at jeffcolib.org
Tue Jun 15 10:46:52 MDT 2010


I tried the below instructions and no luck. Good idea though.

I changed the path to:

path = /home

as a test. I was able to enter the folder with no access denied errors.
Something thinks differently of "/home" then they do of "/srv" or "/share."
Any idea why this could be?

Thank you,

Ben

On Tue, Jun 15, 2010 at 11:15 AM, Chris Smith <smb_77 at chrissmith.org> wrote:

> 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?
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Benjamin T. Allen
Junior Network Administrator
Jefferson County Library Central Services


More information about the samba mailing list