mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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.
This commit is contained in:
parent
8d69a65110
commit
0db0ce4974
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user