git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0027ae
)
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:40:35 +0000
(06:40 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 6 Nov 2008 14:40:35 +0000
(06:40 -0800)
Jeremy.
source/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source/passdb/pdb_interface.c
b/source/passdb/pdb_interface.c
index cd34c89bfc502ca91b24f54fc5e30d02d8fae461..dd9fd1b54004cc99fe392b3d35f37dcea10f15d9 100644
(file)
--- 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)