dsdb: Put password lockout support in samdb_result_passwords()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 4 Nov 2013 08:37:17 +0000 (21:37 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 15:12:46 +0000 (17:12 +0200)
commita0de9290099a93413048a03740cfb04ca1355c78
treeb509db21f5a72740e2f5e6ef13e1f50c89b55409
parent6f8fb163e02579d57e731c0c09eafee5627bec62
dsdb: Put password lockout support in samdb_result_passwords()

This seems to be the best choke point to check for locked out
accounts, as aside from the KDC, all the password authentication and
change callers use it.

Andrew Bartlett

Change-Id: I0f21a79697cb8b08ef639445bd05a896a2c9ee1b
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/auth/ntlm/auth_sam.c
source4/dsdb/common/util.c
source4/dsdb/samdb/ldb_modules/password_hash.c
source4/kdc/kpasswdd.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/samr/samr_password.c