CVE-2020-25722 selftest: Test combinations of account type and objectclass for creati...
commit23983fb50b475b74eea8571e0d9c7923fd2ca76e
authorAndrew Bartlett <abartlet@samba.org>
Sun, 12 Sep 2021 22:21:03 +0000 (13 10:21 +1200)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:32 +0000 (9 19:45 +0000)
tree390d0d581e7d73b8d8d20d289bf3f5530931d33c
parent2bdff65b333365740e5e9c8c2b2fc176323f5108
CVE-2020-25722 selftest: Test combinations of account type and objectclass for creating a user

The idea here is to split out the restrictions seen on Windows 2019
at the schema level, as seen when acting as an administrator.

These pass against Windows 2019 except for the account type swapping
which is not wanted.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
selftest/knownfail.d/user_account_control-uac_mod_lock [new file with mode: 0644]
source4/dsdb/tests/python/user_account_control.py