CVE-2023-4154 dsdb/tests: Speed up DirSync test by only checking positive matches...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Aug 2023 23:18:46 +0000 (11:18 +1200)
committerJule Anger <janger@samba.org>
Sun, 8 Oct 2023 20:06:23 +0000 (22:06 +0200)
commit4c1f1fe39c6e75a377f46d2f9a60749244c1247a
tree7b04b650f14d86c6898b648fb22928dfe8223629
parent92a4df11b2dd696f5ba1c283602a6b3435d082ea
CVE-2023-4154 dsdb/tests: Speed up DirSync test by only checking positive matches once

When we (expect to) get back a result, do not waste time against a potentially
slow server confirming we also get back results for all the other attribute
combinations.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/confidential_attr.py