From: Kurt Zeilenga Date: Wed, 17 Mar 2004 22:21:21 +0000 (+0000) Subject: password always replaces old passwords X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~235 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45332097a62e1d0070d33e7871417126c8d366be;p=openldap password always replaces old passwords --- diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index 2faa368c3c..a70fcc2102 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -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;