s4-auth: Support password history correctly, including allowing NTLM logins using...
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Nov 2013 21:38:03 +0000 (10:38 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:47 +0000 (17:12 +0200)
commitf557f82acc54d0fddf8be31bebdbc525ea80a171
treeacad6b6e7ed1b603168a5e9317079e06f8c1fe1a
parent9d5f4cabf3f491fd1c22dbc1daaad8a657d12914
s4-auth: Support password history correctly, including allowing NTLM logins using the old password

This is only done during a 1 hour allowed period, by default.

We only update bad password count when not one of the last 3 passwords

Andrew Bartlett

Change-Id: I76fd8010ce273a21efb55f9601d17b9978a0acf0
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail
source4/auth/ntlm/auth_sam.c
source4/auth/sam.c