[Samba] SAMBA share permissions all other known users

2010-09-15 Thread *...@ppu
hi all,

i have integrated SAMBA with active directory and everthing is working .
however in share defination i want to give write permissions to  few users
and read access to few users.

i have mentioned  write list and read list in samba config file as follows.
this is working but all other known users (domain users) are getting read
access . is there any way to restirct the same :( . this problem is eating
my head.

[shared]
comment =  Management
path = /shares/Reports
write list = RAJU\bk1234
read list = RAJU\pa7263
directory mask = 0777

Please help me out.

Regards
Appaji.p
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] SAMBA share permissions all other known users

2010-09-15 Thread Dale Schroeder

 Add valid users = RAJU\bk1234, RAJU\pa7263 to the share definition.

Dale


 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| /



On 09/15/2010 6:27 AM, *...@ppu wrote:

hi all,

i have integrated SAMBA with active directory and everthing is working .
however in share defination i want to give write permissions to  few users
and read access to few users.

i have mentioned  write list and read list in samba config file as follows.
this is working but all other known users (domain users) are getting read
access . is there any way to restirct the same :( . this problem is eating
my head.

[shared]
 comment =  Management
 path = /shares/Reports
 write list = RAJU\bk1234
 read list = RAJU\pa7263
 directory mask = 0777

Please help me out.

Regards
Appaji.p

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


Re: [Samba] SAMBA share permissions all other known users

2010-09-15 Thread *...@ppu
Thanks dale .

i have used valid users with write list and read list . it is working fine
now . thanks a lot.

On Wed, Sep 15, 2010 at 11:04 PM, Dale Schroeder 
d...@briannassaladdressing.com wrote:

  Add valid users = RAJU\bk1234, RAJU\pa7263 to the share definition.

 Dale
 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 *


 On 09/15/2010 6:27 AM, *...@ppu wrote:

 hi all,

 i have integrated SAMBA with active directory and everthing is working .
 however in share defination i want to give write permissions to  few users
 and read access to few users.

 i have mentioned  write list and read list in samba config file as follows.
 this is working but all other known users (domain users) are getting read
 access . is there any way to restirct the same :( . this problem is eating
 my head.

 [shared]
 comment =  Management
 path = /shares/Reports
 write list = RAJU\bk1234
 read list = RAJU\pa7263
 directory mask = 0777

 Please help me out.

 Regards
 Appaji.p


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