First part of #9374 - Allow smb2.acls torture test to pass against smbd with a POSIX...
commit1c7d00e8ef48c2cd57d79a00cb26bc56a2979241
authorJeremy Allison <jra@samba.org>
Tue, 13 Nov 2012 00:17:19 +0000 (12 16:17 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 Dec 2012 19:22:41 +0000 (3 20:22 +0100)
tree70bc2051e51542c400daee5d69605e1dd5b391fa
parentde2c0f0d3d1217814fce840a5050741de3938e0f
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.
source3/smbd/open.c