diff options
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 8429d50b38..72ec883aca 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -1516,7 +1516,7 @@ static NTSTATUS ldapsam_modify_entry(struct pdb_methods *my_methods, struct ldapsam_privates *ldap_state = (struct ldapsam_privates *)my_methods->private_data; int rc; - if (!my_methods || !newpwd || !dn) { + if (!newpwd || !dn) { return NT_STATUS_INVALID_PARAMETER; } |