[Samba] smb.conf

flinchlock fst6x7v02 at sneakemail.com
Thu Mar 11 20:45:37 GMT 2004


Quoting "Kent L. Nasveschuk kent-at-wareham.k12.ma.us |Samba|"
<tjlhhuf76t0t at sneakemail.com>:

> This is just a quick question, what is the difference between "+"
> and
> "@" when using groups for say valid users or write list
> 
> ex
> 
> valid users = +staff
> valid users = @staff

Per /usr/share/samba/swat/help/smb.conf.5.html (SuSE 9.0)...

"A name starting with a '@' is interpreted as an NIS netgroup first
(if your system supports NIS), and then as a UNIX group if the name
was not found in the NIS netgroup database.

A name starting with '+' is interpreted only by looking in the UNIX
group database. A name starting with '&' is interpreted only by
looking in the NIS netgroup database (this requires NIS to be
working on your system). The characters '+' and '&' may be used at
the start of the name in either order so the value +&group means
check the UNIX group database, followed by the NIS netgroup
database, and the value &+group means check the NIS netgroup
database, followed by the UNIX group database (the same as the '@'
prefix)."

HTH

Mike

-- 
SuSE 9.0 Pro (2.4.21-192-default) with samba-2.2.8a-107


More information about the samba mailing list