CentOS 7 Samba with Active Directory Permissions

General support questions
Post Reply
rogalskij
Posts: 1
Joined: 2016/04/25 18:11:39

CentOS 7 Samba with Active Directory Permissions

Post by rogalskij » 2016/04/25 18:22:04

I have a CentOS 7.2.1511 install running. I have installed Samba and configured it, along with joining the server to our Active Directory 2008 R2 Domain. I have gotten to the point where I can view the share via Windows Explorer, and I can create new files in it, but I can't modify files other people have created. The group on the Centos server that I used as the group owner of the directory is an Active Directory group. This allows me to access the share, and even write, but not write files created by others.

Ideally, I would like the share to inherit permissions to all files and directories below the shares root if that is possible.

Any assistance would be appreciated.

waishingleung
Posts: 20
Joined: 2015/05/11 01:06:42
Location: Hong Kong

Re: CentOS 7 Samba with Active Directory Permissions

Post by waishingleung » 2016/04/26 02:58:06

[your_share]
.
.
.
force user = a_linux_user
force group = a_linux_group
create maek = 0775
valid users = a_user, @a_group
read list = a_user, @a_group
write list = a_user, @a_group


Details see
https://www.samba.org/samba/docs/man/ma ... onf.5.html

Post Reply