Ensure when calculating the access mask for MAXIMUM_ALLOWED_ACCESS that we add in...
commit32892d6357469287bf9594b269bde5b9ffabd54e
authorJeremy Allison <jra@samba.org>
Tue, 13 Nov 2012 00:22:52 +0000 (12 16:22 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 3 Dec 2012 19:22:41 +0000 (3 20:22 +0100)
treef9aca7cf5d7269814085588f4151e5909a555d8b
parenta115a4e9799e8e5497232a149d4d927308c81a5b
Ensure when calculating the access mask for MAXIMUM_ALLOWED_ACCESS that we add in FILE_READ_ATTRIBUTES, even if this doesn't come from the file/directory ACL.

If we can access the path to this file, by
default we have FILE_READ_ATTRIBUTES from the
containing directory. See the section.
"Algorithm to Check Access to an Existing File"
in MS-FSA.pdf.
source3/smbd/open.c