The Samba-Bugzilla – Bug 12719
Some Users cannot access directories
Last modified: 2018-02-13 23:00:27 UTC
Created attachment 13103 [details]
level 10 log
I am using Samba as a member-server for a Windows AD. Group membership is managed on AD-Servers. On linux the SSSd is running so one can use the groups there. Linux is Redhat 7 linux with latest updates.
We have got several folders where only user and group has access, so permissions are 770 in Linux. And some users cannot access such folders using samba, but using Linux (ssh shell) all is working fine.
After experimenting quite a bit we found different behaviour of different versions. Not working is 4.4.3, 4.5.0 and 4.5.9. Working is 4.4.4 and 4.4.9, which I am currently using. There is also no difference if I use a windows-client or just the smbclient command on Linux.
I have made a level 10 debug-log using version 4.4.3 Once the server started I just connected, cd into a folder and run dir This the gave nt_status_access_denied
I still have my testing environment, so if needed I can either provide more information or run a regression test...
you need to use winbind and a valid idmap configuration. please consult the wiki for that and the mailing list if you can't get it right with the information of the wiki.