× Welcome to the Centrify Community! Looking for Express & Smart Card Help? Click Here

Samba Share - Write Access for certain domain users, read access for other domain users

Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Participant I
Posts: 1
Registered: Friday
#1 of 1 77

Samba Share - Write Access for certain domain users, read access for other domain users

Hi, I have Centrify Express Samba running on our domain network. It works well thanks. I'd like to create a new share that will allow some users read access only and other domain users read/write access. I can't seem to get it to work. Can someone help with the samba conf. Here is what I have currently. This group 'adminshare_w' has certain memebers and the other group 'adminshare_r' has also different members.

 

[NewShare]
path = /mnt/data1/adminshare
comment = admin share | Owner User
guest ok = yes

guest account = nobody
valid users = +domain\adminshare_w +domain\adminshare_r
browseable = yes
writable = yes

file permissions on the share

drwxrws---+  11 domainuser adminshare_w   4096 Apr 21 10:18 adminshare