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 08:59:34 +0000 (08:59 +0000)
commit824a058aa92a379fb4c0078e8f4594724419d1ae
treed756e7fefb40f42dfbb8c3cd8d3fee1f3cb5abde
parentb4289aa34ae88c28a4b68214e33c57abc98e2f7a
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