i’m playing around with my fresh installation test of Nethserver NG 7rc1 and Windows 7 professional.
I’m trying to define some ACLs to shares, files and subfolders created on Nethserver but the rules that I set disappears when I confirm the new configuration.
I have a “share02” defined with the same configuration of “share01” except “Allow write permission to owning group” and “Network Recycle Bin” that aren’t flagged.
“In the following, we will grant the privilege to the group “Domain Admins”, but before doing this, make sure that the group is available to the local OS by NSS; usually via Winbindd:”
# getent group "Domain Admins"
domain admins:x:10001:
I don’t have any otuput
“If you don’t get an output showing the queried name and its ID, there may be something wrong in your NSS configuration or if you are using Winbindd with RFC2307 (idmap_ad), you might not have an ID assigned (see User and group management for how to administer Unix Attributes in an AD). If the “Domain Admins” group is available to the OS, you can grant the SeDiskOperatorPrivilege privilege to (add the “-I dc1.samdom.example.com” if you had the previous error with NT_STATUS_CANT_ACCESS_DOMAIN_INFO)_:”
Then, when i confirm a ACL in Windows, in /var/log/samba/log.IP_OF_THE_PC i have these entry logged:
[2016/10/25 17:22:10.291691, 0] ../source3/smbd/posix_acls.c:2080(create_canon_ace_lists)
create_canon_ace_lists: unable to map SID S-1-5-21-3602257460-887192637-3718906551-1112 to uid or gid.
I confirm. I get the same message in that log file, if I try to set an ACL from a win10 client. I couldn’t reproduce the problem with smbcacls command, though.
There are a lot of things that have changed on ns7 File server module. This is a bug, but I have no idea where to start
Samba 4
ADS mode
idmap
xfs
…
Edit: I set up the following environment
Microsoft Active Directory
vm2, ns6 server in ads mode joined to AD - samba-3.6.23-36.el6_8.x86_64
vm4, ns7 server joined to AD - samba-4.2.10-7.el7_2.x86_64
windows 10 client to set ACLs
The bug is reproducible on ns7:
# tail -F /var/log/samba/log.192.168.122.191
[2016/11/03 18:23:56.490772, 0] ../source3/smbd/posix_acls.c:2080(create_canon_ace_lists)
create_canon_ace_lists: unable to map SID S-1-5-21-****-****-****-1112 to uid or gid.
So we should investigate the File server module of ns7