CVE-2020-25720: s4-acl: Adjusted some tests to work with the new behavior
authorNadezhda Ivanova <nivanova@symas.com>
Fri, 22 Oct 2021 18:10:35 +0000 (21:10 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Sep 2022 02:32:36 +0000 (02:32 +0000)
commit6dc6ca56bd517a5cba85bb4ec120fcfb5feadfb8
tree7b21391479e616ca445b6751084ee54c1e523606
parent08187833fee57a8dba6c67546dfca516cd1f9d7a
CVE-2020-25720: s4-acl: Adjusted some tests to work with the new behavior

Test using non-priviledged accounts now need to make sure they have
WP access on the prvided attributes, or Write-DACL
Some test create organizational units with a specific SD, and those now
need the user to have WD or else they give errors

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

Signed-off-by: Nadezhda Ivanova <nivanova@symas.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/bug-14810
source4/dsdb/tests/python/acl.py
source4/dsdb/tests/python/sec_descriptor.py
source4/dsdb/tests/python/user_account_control.py