[Samba] Standalone Samba in a Win2008 DC environment, transition to samba

Lin Pro linforpros at gmail.com
Fri Mar 10 20:54:39 UTC 2017


> I added some sentences to be clear about this:
> https://wiki.samba.org/index.php/User_Home_Folders#Using_POSIX_ACLs

> Anyway, in a non-domain environment, naming a group "Domain Users" seems to
> guarantee confusion some day. :-)
>

Thanks for the clarification.
The system now has "domain_users" group and users are added to that
group. Additionally /srv/samba/users is owned by that group with chmod
2750.
What is the logic however that when a user "justin" creates a
directory within its home dir /users/justin/testdir that dir receives
drwxr-xr-x instead of what is stated in the smb.conf, and that is
0700, then it should become drwx------, correct?

Thank for any directions to understand it

Below is what I see:

[root at fedora samba]# getfacl  users
# file: users
# owner: root
# group: domain_users
# flags: -s-
user::rwx
group::r-x
other::---

[root at fedora samba]# getfacl  users/justin/
# file: users/justin/
# owner: justin
# group: domain_users
# flags: -s-
user::rwx
group::---
other::---

[root at fedora samba]# getfacl  users/justin/justinFolder/
# file: users/justin/justinFolder/
# owner: justin
# group: domain_users
# flags: -s-
user::rwx
group::r-x
other::r-x

[root at fedora samba]# ls -ld users/
drwxr-s---. 4 root domain_users 4096 Mar 10 19:45 users/
[root at fedora samba]# ls -ld users/justin/
drwx--S---. 3 justin domain_users 4096 Mar 10 19:12 users/justin/
[root at fedora samba]# ls -ld users/justin/justinFolder/
drwxr-sr-x. 2 justin domain_users 4096 Mar 10 19:12 users/justin/justinFolder/





best regards
linforpros



More information about the samba mailing list