git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d69a65
)
Fix bug #5825 - Account locking out doesnt work with an LDAP backend.Based on a probl...
author
Jeremy Allison
<jra@samba.org>
Thu, 6 Nov 2008 14:42:04 +0000
(06:42 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 6 Nov 2008 14:42:04 +0000
(06:42 -0800)
Jeremy.
source3/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_interface.c
b/source3/passdb/pdb_interface.c
index 2a1024cc5635375ab1b024ea52cfdb2f07f33aa4..fcb38b464b395650143f0a19034f8a521de632b5 100644
(file)
--- 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)