There are currently a small set of fixes needed for smbd to pass the smb2.acl test when back-ended onto a POSIX ACLs backend. Patches to follow for 3.6.x and 4.0.x. Jeremy.
Created attachment 8186 [details] git-am fix for 3.6.x. With this patchset, 3.6.x passes master smbtorture raw.acls and smb2.acls (with one change to smb2.acls to make the default ACL match the Samba default ACL - i.e. the same change that is made in the smb1 raw.acls test - this didn't get ported to the smb2 ACL test). Jeremy.
I am starting to test this now. My only comment so far is that for the OpenDir_fsp path to work requires that dirfd be found correctly on those platforms that it exists on. Otherwise OpenDir_fsp falls back to SMB_VFS_OPENDIR which will, I believe, apply all the permission checks.
Yes, this is true, but I think that's an acceptable limitation (this really is testing some edge cases). Plus your changes to autoconf (and hopefully waf) mean that we now have dirfd on both *BSD and Solaris platforms (which along with Linux are the important ones). Jeremy.
Created attachment 8213 [details] git-am fix for 4.0.0rc.next Cherry-picked from master commits: c5ad5029fd87b36426927d57425d5debbb26394c 4985332b951d8cd46c9c0cd877875ab7839b4edb Jeremy.
Assigning to Karolin for inclusion in 4.0.0rc.next. Jeremy.
Ensuring this is logged against 4.0.0rc so it gets in the next release. Jeremy.
Pushed to autobuild-v4-0-test. Waiting for review of the version for 3.6.
Pushed to v4-0-test.
Still waiting for review (3.6).
Comment on attachment 8186 [details] git-am fix for 3.6.x. Help... someone ? :-) Jeremy.
It would be good to include this into 3.6.10, which will be frozen on Monday December 3.
Obnox, as you did the review for 4.0, could you review the 3.6 patches also, please? Thanks!
Comment on attachment 8186 [details] git-am fix for 3.6.x. ACK
Karolin, please pick for 3.6
Pushed to v3-6-test. Closing out bug report. Thanks!