]> git.ipfire.org Git - thirdparty/samba.git/commit
CVE-2021-20251 auth4: Detect ACCOUNT_LOCKED_OUT error for password change
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 5 Jul 2022 08:17:49 +0000 (20:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 12 Sep 2022 23:07:37 +0000 (23:07 +0000)
commit336e303cf1962b56b64c0d9d2b05ac15d00e8692
tree3a6e8c61819d3ec675e97c321aa250fd195c75be
parentd6cf245b96fb02edb3bcc52733d040d5f03fb918
CVE-2021-20251 auth4: Detect ACCOUNT_LOCKED_OUT error for password change

This is more specific than NT_STATUS_UNSUCCESSFUL, and for the SAMR
password change, matches the result the call to samdb_result_passwords()
would give.

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>
source4/dsdb/common/util.c