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:52:24 +0000 (07:52 +0000)
commit8f77ba1b7c7620910f9735681f8e357e4ed053e4
tree8bb0eba179a03ffcdb487af37181bc8930ed5252
parentebee56db540dbc7504bebc96d1b77e1252a536a1
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