The branch, master has been updated
via 0db0ce4974b7371891472f75080b1da2d5538b07 (commit)
from 8d69a6511018390cc11a5020676e7cf14cdb000a (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0db0ce4974b7371891472f75080b1da2d5538b07
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date: Thu Nov 6 06:42:04 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:
source3/passdb/pdb_interface.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 2a1024c..fcb38b4 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/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