1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00
Joseph Sutton f58d7e4200 CVE-2021-20251 s4:dsdb: Make badPwdCount update atomic
We reread the account details inside the transaction in case the account
has been locked out in the meantime. If it has, we return the
appropriate error code.

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

Signed-off-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 96479747bdb5bc5f33d903085f5f69793f369e3a)

[jsutton@samba.org Fixed conflict due to lack of dbg_ret variable]
2022-09-18 16:46:09 +00:00
..
2021-03-01 03:50:35 +00:00
2018-01-12 22:42:22 +01:00
2018-01-13 03:01:10 +01:00
2018-01-12 22:42:22 +01:00

# Files in this directory contain lists of regular expressions
# matching the names of tests that are that are flapping. In other
# words, they sometimes succeed and sometimes fail, depending on
# external factors.
#
# "make test" will not report failures or successes for tests listed here.
#
# DO NOT ADD TESTS HERE UNLESS THEY ARE ACTUALLY FLAPPING
#
# It is much better to add known failing tests to 'knownfail', so the
# test system can warn when they actually start passing.
#
# Empty lines and lines beginning with '#' are ignored.
# Please don't add tests to this README!