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
Dale Schroeder
2010-Sep-15 17:34 UTC
[Samba] SAMBA share permissions all other known users
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
Apparently Analagous Threads
- SAMBA accessible with hostname only on local subnet
- The specified server can't perform the requested operation. Problem Accessing samba from windows 7 and vista
- samba winbind problem with trusted domains
- [LLVMdev] Getting rid of the dangling names of functions
- Issue with Crossbow on VirtualBox