dsdb: Implement password lockout on LDAP password changes
authorAndrew Bartlett <abartlet@samba.org>
Wed, 6 Nov 2013 04:11:18 +0000 (17:11 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:47 +0000 (17:12 +0200)
commitc91823028f67a4581d282c15422aab1e7f7f5c87
tree478745cecaf337696285027c760ae6a7f7f404c0
parent8a89f7f4bcf784852452ca5d6914a0d070c2786f
dsdb: Implement password lockout on LDAP password changes

To do this, and have the badPwdCount update stick, we must abort,
open, close and reopen transactions such that the badPwdCount update
is in it's own transaction.

To ensure the tests can confirm the correct behaviour here, we must
output the Windows error code in the error message.

Andrew Bartlett

Change-Id: I5b1515b26b308301cf90ce8a3c848a3cedee85a2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/password_hash.c