s4:torture: Add test_owner_rights_deny1().
authorJeremy Allison <jra@samba.org>
Thu, 28 Feb 2019 22:59:01 +0000 (14:59 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 11 Mar 2019 07:55:38 +0000 (07:55 +0000)
commitc9b6b7ed4be46d7b63947a6bbcef1ab72b6bdd68
treea203021e911938337a44063004c635177afc45a9
parent1dc2e296f1749c3efff8b2e779b0c5e0f50cef34
s4:torture: Add test_owner_rights_deny1().

Creates a 3-element ALLOW + ALLOW + DENY ACE showing that when
calculating maximum access already seen allow bits are not removed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13812

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 0ebd8c99aed28a0ba43a22c429837f66f7e94409)
selftest/knownfail.d/smb2.acls [new file with mode: 0644]
source4/torture/smb2/acls.c