Ensure we don't return an incorrect access mask.
commit8bfbdf54153246689783f90472128f1b4666e86f
authorJeremy Allison <jra@samba.org>
Fri, 25 Feb 2011 00:04:09 +0000 (24 16:04 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 25 Feb 2011 00:11:04 +0000 (24 16:11 -0800)
treec37a1d79801847874c1d1f78fe0aec5cdb8552eb
parent2e191484b1f6e0c5c59fb321b2599c37a6e320e1
Ensure we don't return an incorrect access mask.

From the Microsoft test suite @ Connectathon:

Test Case: TestSuite_ScenarioNo009GrantedAccessTestS0
    File created with access = 0x7 (Read, Write, Delete)
    Query Info on file returns 0x87 (Read, Write, Delete, Read Attributes)

Jeremy.
(cherry picked from commit 1f2433c719b3a64353a730b963a9b0ff7a8357cb)
source3/smbd/open.c