samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: Re: [Samba] select read/write access by user or gro

Re: [Samba] select read/write access by user or group?

From: zoolook <nbensa_at_nospam>
Date: Thu May 13 2010 - 02:44:22 GMT
To: "William P.N. Smith" <w_smith@compusmiths.com>

2010/5/12 William P.N. Smith <w_smith@compusmiths.com>:

> It seems if I have a share that someone can read, anyone can read it, is
> that right?

depends; how did you configure your shares?

> but +staff isn't documented anywhere (user or @group is, but not +staff),
> and adding creating a Linux group called staff and adding users to it
> doesn't help.

+ is explained in the manual. Did you read it?

> Thanks in advance for any hints!

man smb.conf:

       valid users (S)

           This is a list of users that should be allowed to login to
this service. Names starting with @, + and &
           are interpreted using the same rules as described in the
invalid users parameter.

           If this is empty (the default) then any user can login. If
a username is in both this list and the invalid
           users list then access is denied for that user.

           The current servicename is substituted for %S. This is
useful in the [homes] section.

           Default: valid users = # No valid users list (anyone can login)

           Example: valid users = greg, @pcusers

HTH,
Norberto
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba