CVE-2021-20251 auth4: split samdb_result_msds_LockoutObservationWindow() out
commit2dc965ad1d85b3f77e734a74b52ce9049b5df536
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 15 Mar 2021 21:52:58 +0000 (16 10:52 +1300)
committerJule Anger <janger@samba.org>
Mon, 19 Sep 2022 04:02:12 +0000 (19 04:02 +0000)
treebfda60498f5df4fcbea4a17c806c6215023bbf41
parent276d81368ecf057d462fca40c28cd68deb20b390
CVE-2021-20251 auth4: split samdb_result_msds_LockoutObservationWindow() out

samdb_result_msds_LockoutObservationWindow() is split out of
samdb_result_effective_badPwdCount()

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 2087b0cd986b8959b2a402b9a1891472e47ca0b0)
source4/dsdb/common/util.c