s3:auth: don't update the bad pw count if pw is among last 2 history entries
authorMichael Adam <obnox@samba.org>
Wed, 6 Jan 2010 16:29:04 +0000 (17:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 25 Jan 2010 11:46:55 +0000 (12:46 +0100)
commitfcadc524779a50ee379fb4feb02448944dc174dc
treee7c85862d8813c9abbbe37c4dfa3e2ecbd7b2337
parent0d6ad513e27e83b6a460954f3120395f13f65088
s3:auth: don't update the bad pw count if pw is among last 2 history entries

This conforms to the behaviour of Windows 2003:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/security/bpactlck.mspx

This is supposed to fixes Bug #4347 .

Michael
source3/auth/auth_sam.c