]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25722 selftest: Update user_account_control tests to pass against Windows...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 Aug 2021 06:17:47 +0000 (18:17 +1200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:09 +0000 (10:52 +0100)
commitff8f61b7e309849686634b4ea1df036f6d243260
tree530853f60417ea604949051632e81456af1a0c91
parent884b2d4c3bf6aabc0e083f54e412c2eacb46cabb
CVE-2020-25722 selftest: Update user_account_control tests to pass against Windows 2019

This gets us closer to passing against Windows 2019, without
making major changes to what was tested.  More tests are needed,
but it is important to get what was being tested tested again.

Account types (eg UF_NORMAL_ACCOUNT, UF_WORKSTATION_TRUST_ACCOUNT)
are now required on all objects, this can't be omitted any more.

Also for UF_NORMAL_ACCOUNT for these accounts without a password
set |UF_PASSWD_NOTREQD must be included.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 15 08:49:11 UTC 2021 on sn-devel-184

(cherry picked from commit d12cb47724c2e8d19a28286d4c3ef72271a002fd)
selftest/knownfail.d/user_account_control [new file with mode: 0644]
source4/dsdb/tests/python/user_account_control.py