Ensure we don't return an incorrect access mask.
commitf92fad101a755cdf0845dd8abf9431312ba82094
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:57:04 +0000 (25 01:57 +0100)
tree3e7e259ccd63c192a7ac0d3e8c6bcb57abd0a3a8
parentbc1312303dd2de401f3c6bd93a705ab1bfe07b56
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.
source3/smbd/open.c