[Samba] Samba 3.2.4 not locking accounts?

Jeremy Allison jra at samba.org
Thu Nov 6 14:16:21 GMT 2008


On Wed, Nov 05, 2008 at 10:55:57PM -0000, dmarkey at comp.dit.ie wrote:
> I can confirm that 3.0.32 does lock out accounts, I'll be going back to
> that until the issue is fixed in 3.2.x

Ok, can you try the following patch for 3.2.x and 3.3.x ?

(Thanks for BoYang @ Novell for tracking down the underlying
issue !).

Jeremy.
-------------- next part --------------
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)


More information about the samba mailing list