[Samba] Share-based security

Chris Smith smb_77 at chrissmith.org
Sun Feb 5 11:15:55 MST 2012


On Sat, Feb 4, 2012 at 6:22 AM, Bruno Martins <bmartins at galileu.pt> wrote:
> [formacao]
>        comment = Partilha Formacao
>        path = /home/joe/Formacao
>        guest ok = yes
>        browseable = yes
>        read only = no
>        write list = bmartins, amoreira
>
> Share to expose is 'formacao' but I want it to be only writable by two AD users and read-only for everyone else.

Then you would want "read only = yes", yes?

> With the smb.conf above mentioned, Windows keeps asking me for authentication.

Is the AD guest account enabled? If not, it may fall back to local
authentication as in
http://blog.realcomputerguy.com/2010/12/samba-and-guest-shares-with-security.html
but I haven't tried it.


More information about the samba mailing list