]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2020-25722 selftest: Use self.assertRaisesLdbError() in user_account_control...
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 Sep 2021 04:09:24 +0000 (16:09 +1200)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:09 +0000 (10:52 +0100)
commit4ee7940140ee8f40400d129ed2dd28e799b1d3ae
treea3f6c3ea737326eb8881e99e184156d0d46b3a46
parentff8f61b7e309849686634b4ea1df036f6d243260
CVE-2020-25722 selftest: Use self.assertRaisesLdbError() in user_account_control.py test

This changes most of the simple pattern with self.samdb.modify()
to use the wrapper.  Some other calls still need to be converted, while
the complex decision tree tests should remain as-is for now.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct  4 21:55:43 UTC 2021 on sn-devel-184

(cherry picked from commit b45190bdac7bd9dcefd5ed88be4bd9a97a712664)
source4/dsdb/tests/python/user_account_control.py