[Samba] How does the "guest account" param work?

Michael Heydon michaelh at jaswin.com.au
Thu Oct 16 23:54:12 GMT 2008

Oops, lets bring the list back in on this...

Jeffrey Hathaway wrote:
> You can totally fix this by setting up your home drive to DENY guest, and thereofr ya root see the "/" partition anymore.
> TRY this
> [homes]
>         comment = Home Directories
>         read only = No
>         browseable = No
>         invalid users = nobody
>         guest ok = no
> Then in your smbusers, set this up.
> # Unix_name = SMB_name1 SMB_name2 ...
> root = administrator admin
> nobody = guest pcguest smbguest
> and go ahead and setup the username nobody up in samba with no pass, and you should be all set.

What benefits does this offer over the normal samba guest access? As far
as I can see it is more complicated (you are creating accounts that
aren't needed, generating a share for it, and then denying access to the
share) and less user friendly (users have to login rather than letting
"map to guest" sort things out).

*Michael Heydon - IT Administrator *
michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>

More information about the samba mailing list