CVE-2021-20251 auth4: Inline samdb_result_effective_badPwdCount() in authsam_logon_su...
authorAndrew Bartlett <abartlet@samba.org>
Thu, 25 Mar 2021 02:33:08 +0000 (15:33 +1300)
committerJule Anger <janger@samba.org>
Mon, 19 Sep 2022 04:02:12 +0000 (04:02 +0000)
commit1167352291264d5e1c4b1617603f77e902beb1c8
treed4a09396196063592c0d2e19d5331bbbfa48764e
parentffe43511bb9ed9e5bb91273d13b63e1655ee1240
CVE-2021-20251 auth4: Inline samdb_result_effective_badPwdCount() in authsam_logon_success_accounting()

By bringing this function inline it can then be split out in a
subsequent commit.

Based on work by Gary Lockyer <gary@catalyst.net.nz>

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 712181032a47318576ef35f6a6cf0f958aa538fb)
source4/auth/sam.c