[Samba] Use Samba with ACL for read Active Directory and set Permissions via it.
Jason Long
hack3rcon at yahoo.com
Wed Dec 24 06:46:22 MST 2014
Hello Folks.
How are you?
I joined my CentOS into Windows Domain and I want to give Permission to files and Directory via Active Directory. When I use "getent passwd" and "getent group", I can see All AD users and Groups. I use below command to give Permission to a Folder via ACL :
setfacl -m g:"jasondomain\jason-rw":rwx /home/local/jasondomain/jason/test
and I create a part for my "smb.conf" file :
[Test]
comment = test
path = /home/local/jasondomain/jason/test
browsable = yes
inherit acls = yes
inherit permissions = yes
inherit owner = yes
map acl inherit = yes
acl check permissions = yes
nt acl support = yes
#valid users = %D\%S
#write list = @jasondomain\domain^admins
read only = no
but when I browse the "Test" directory it ask me username and password and when I enter "jasondomain\jason" as username it can't let me to open the "Test" directory. What is the problem?
Cheers.
More information about the samba
mailing list