diff options
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 865bcdfc9f..e0f79c140d 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -3495,11 +3495,6 @@ static NTSTATUS ldapsam_set_account_policy_in_ldap(struct pdb_methods *methods, static NTSTATUS ldapsam_set_account_policy(struct pdb_methods *methods, int policy_index, uint32 value) { - if (!account_policy_migrated(False)) { - return (account_policy_set(policy_index, value)) ? - NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL; - } - return ldapsam_set_account_policy_in_ldap(methods, policy_index, value); } @@ -3588,11 +3583,6 @@ static NTSTATUS ldapsam_get_account_policy(struct pdb_methods *methods, { NTSTATUS ntstatus = NT_STATUS_UNSUCCESSFUL; - if (!account_policy_migrated(False)) { - return (account_policy_get(policy_index, value)) - ? NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL; - } - if (cache_account_policy_get(policy_index, value)) { DEBUG(11,("ldapsam_get_account_policy: got valid value from " "cache\n")); |