CVE-2021-3670 tests/krb5/test_ldap.py: Add test for LDAP timeouts
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 26 Aug 2021 09:18:26 +0000 (21:18 +1200)
committerJule Anger <janger@samba.org>
Thu, 2 Dec 2021 10:33:13 +0000 (10:33 +0000)
commitdc71ae17782ef4c6cac51e51b0b8b7ad77b556a0
tree040164f04fea734d9fbaaa4f643c24bb7fd015dd
parent8ccb26c679ba0b909cbba654d00797f99580679f
CVE-2021-3670 tests/krb5/test_ldap.py: Add test for LDAP timeouts

We allow a timeout of 2x over to avoid this being a flapping test.
Samba is not very accurate on the timeout, which is not otherwise an
issue but makes this test fail sometimes.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit dcfcafdbf756e12d9077ad7920eea25478c29f81)
selftest/knownfail.d/ldap-timeout [new file with mode: 0644]
source4/dsdb/tests/python/large_ldap.py