[Samba] Samba Authorizations

Matthias Grimm eisofen at eisofen.de
Tue Mar 31 19:18:52 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 31.03.2009 20:21, schrieb Tom Duerbusch:

> 
> linux61:/etc/samba # cat smb.conf
> # Samba config file created using SWAT
> # from 205.235.227.16 (205.235.227.16)
> # Date: 2009/03/31 12:42:57
> 
> [global]
>         workgroup = TESTWORKS
>         netbios name = HOBBIT
>         null passwords = Yes
>         ldap ssl = no
> 
> [cityworksro]
>         comment = cityworks read only
>         path = /home/documents

one way could be:

put the one R/W-users in one group, the R/O-users in a second group.
put a line into [cityworksro]:
	valid users = @<group of RW-users>, @<group of RO-users>

and use setfacl for the whole directory to assign specific rights for
both groups.
Setting browseable = no should prevent every other user to see that
share, but it could also hinder the R/W-users from finding that share
via search.

Cheers

Matthias

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAknSbJwACgkQf3LySRiTg2wrCACfcDaneWjzi9AMuEhXa+PVRCwi
6bAAn12TQib9SSBewjmrbGOn1fXKaH7+
=i1dY
-----END PGP SIGNATURE-----



More information about the samba mailing list