The branch, v3-3-test has been updated via 7cbbcc75a834179d1c48411666670d7cb7d41726 (commit) from d6ec9a28711e2a5e404354408c012d6d70a8ca3f (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log ----------------------------------------------------------------- commit 7cbbcc75a834179d1c48411666670d7cb7d41726 Author: Jeremy Allison <[EMAIL PROTECTED]> Date: Thu Nov 6 06:42:34 2008 -0800 Fix bug #5825 - Account locking out doesnt work with an LDAP backend.Based on a problem found by Boyang. Only the pdb_nds backend implements login attempts so this was broken for tdbsam and ldap. Jeremy. ----------------------------------------------------------------------- Summary of changes: source/passdb/pdb_interface.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source/passdb/pdb_interface.c b/source/passdb/pdb_interface.c index 2a1024c..fcb38b4 100644 --- a/source/passdb/pdb_interface.c +++ b/source/passdb/pdb_interface.c @@ -1150,7 +1150,9 @@ static NTSTATUS pdb_default_rename_sam_account (struct pdb_methods *methods, str static NTSTATUS pdb_default_update_login_attempts (struct pdb_methods *methods, struct samu *newpwd, bool success) { - return NT_STATUS_NOT_IMPLEMENTED; + /* Only the pdb_nds backend implements this, by + * default just return ok. */ + return NT_STATUS_OK; } static NTSTATUS pdb_default_get_account_policy(struct pdb_methods *methods, int policy_index, uint32 *value) -- Samba Shared Repository