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)
committerMichael Adam <obnox@samba.org>
Thu, 7 Jan 2010 15:51:18 +0000 (16:51 +0100)
commitdc689827114c46b3ca2a75082421dc2d98001ce7
tree1e4798afa2904b75021ef05854bd7aed8b258081
parent46111dc4e437f9cd4df1dbf2ecfe6a56eaf1ae39
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