CVE-2020-25722 selftest/user_account_control: more work to cope with UAC/objectclass...
commit1282c823978e51d926132502d8f4f652cd572f03
authorAndrew Bartlett <abartlet@samba.org>
Fri, 22 Oct 2021 10:41:23 +0000 (22 23:41 +1300)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:10 +0000 (8 10:52 +0100)
tree12d86768b502df4f6943700901ae974856ae47d7
parent17c4928b2d3242aa621d13412e6c55ab534c674c
CVE-2020-25722 selftest/user_account_control: more work to cope with UAC/objectclass defaults and lock

This new restriction breaks a large number of assumptions in the tests, like
that you can remove some UF_ flags, because it turns out doing so will
make the 'computer' a 'user' again, and this will fail.

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/uac_objectclass_restrict
source4/dsdb/tests/python/user_account_control.py