s4:torture: add a test with additional bits in SEC_FLAG_MAXIMUM_ALLOWED
authorRalph Boehme <slow@samba.org>
Fri, 1 Mar 2019 17:06:48 +0000 (18:06 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 4 Mar 2019 18:11:16 +0000 (18:11 +0000)
commit128e195e039e381d8f691103324033ef916e35cb
treec986fbbc03df1cbb784aa6fc4b969a846685e6be
parent8d355dd9769e8990ce998b4c9f28977669b43616
s4:torture: add a test with additional bits in SEC_FLAG_MAXIMUM_ALLOWED

When access_mask contains SEC_FLAG_MAXIMUM_ALLOWED, the server must still
proces other bits from access_mask. Eg if access_mask contains a right that
the requester doesn't have, the function must validate that against the
effective permissions.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/acls.c