First part of #9374 - Allow smb2.acls torture test to pass against smbd with a POSIX...
commit43c2b1ac0599963a3d794185c9cc372c3bc4a3a1
authorJeremy Allison <jra@samba.org>
Tue, 13 Nov 2012 00:17:19 +0000 (12 16:17 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Dec 2012 08:40:24 +0000 (6 09:40 +0100)
tree7362d3f72fca7d4aec26733a53b6f5942398b9ea
parent2beafaba3a5c13c77f5711dbe52d6171f0776f3f
First part of #9374 - Allow smb2.acls torture test to pass against smbd with a POSIX ACLs backend.

Use the requested access mask before making the fd_open request in
open_directory() rather than faking up an access mask of
FILE_READ_DATA | FILE_READ_ATTRIBUTES.

The underlying ACL may not permit FILE_READ_DATA.
(cherry picked from commit 1c7d00e8ef48c2cd57d79a00cb26bc56a2979241)
source3/smbd/open.c