[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3131-gab984c9
Jeremy Allison
jra at samba.org
Thu Nov 6 14:43:12 GMT 2008
The branch, v3-2-test has been updated
via ab984c93a2b197368ad21cfa0982ac2438ec57bf (commit)
from b0027aebdfece34a4fa6d5a796989232992dbc59 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit ab984c93a2b197368ad21cfa0982ac2438ec57bf
Author: Jeremy Allison <jra at samba.org>
Date: Thu Nov 6 06:40:35 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 cd34c89..dd9fd1b 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
More information about the samba-cvs
mailing list