Article 4TGS9 Give users access to Samba by group

Give users access to Samba by group

by
Dadoo
from LinuxQuestions.org on (#4TGS9)
I have two groups: let's say "grprw" and "grpro". I'd like people in the "grprw" group to have read-write access to my share, I'd like people int the "grpro" group to have read-only access to the share, and don't want anyone outside those groups to have access, at all.

Among other things, I've tried:
Setting "valid users = DOMAIN\grprw DOMAIN\grpro" and "write list = DOMAIN\grprw"
Setting "valid users = @DOMAIN\grprw @DOMAIN\grpro" and "write list = @DOMAIN\grprw"
Setting "lxuserrw = DOMAIN\grprw" and "lxuserro = DOMAIN\grpro" in the username map file
Setting "lxuserrw = @DOMAIN\grprw" and "lxuserro = @DOMAIN\grpro" in the username map file
Mapping groups, using "net groupmap", and then using "valid users = @lxgrpro"
Mapping groups, using "net groupmap", and then setting "lxuserrw = @lxgrprw" in the username map file
None of those work. Anyone know what does?latest?d=yIl2AUoC8zA latest?i=UrudrQSDONc:6tuIC4kzcD0:F7zBnMy latest?i=UrudrQSDONc:6tuIC4kzcD0:V_sGLiP latest?d=qj6IDK7rITs latest?i=UrudrQSDONc:6tuIC4kzcD0:gIN9vFwUrudrQSDONc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments