Skip to content
Snippets Groups Projects
Commit 45332097 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

password always replaces old passwords

parent 5ff05708
Branches
Tags
No related merge requests found
......@@ -180,7 +180,7 @@ int passwd_extop(
ml->sml_values[i].bv_val = NULL;
ml->sml_nvalues = NULL;
ml->sml_desc = slap_schema.si_ad_userPassword;
ml->sml_op = qpw->rs_old.bv_val ? LDAP_MOD_ADD : LDAP_MOD_REPLACE;
ml->sml_op = LDAP_MOD_REPLACE;
ml->sml_next = qpw->rs_mods;
qpw->rs_mods = ml;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment