mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
revert erroneous commit; cure the test the right way
This commit is contained in:
parent
9a64fdb991
commit
0f867b9577
@ -134,8 +134,9 @@ ldap_back_exop_passwd(
|
||||
}
|
||||
|
||||
rc = ldap_passwd(lc->ld, isproxy ? &mdn : NULL,
|
||||
qpw->rs_old.bv_len ? &qpw->rs_old : NULL,
|
||||
qpw->rs_new.bv_len ? &qpw->rs_new : NULL, op->o_ctrls, NULL, &msgid);
|
||||
qpw->rs_old.bv_val ? &qpw->rs_old : NULL,
|
||||
qpw->rs_new.bv_val ? &qpw->rs_new : NULL,
|
||||
op->o_ctrls, NULL, &msgid);
|
||||
|
||||
if (mdn.bv_val != op->o_req_dn.bv_val) {
|
||||
free(mdn.bv_val);
|
||||
|
@ -59,9 +59,7 @@ int passwd_extop(
|
||||
return LDAP_STRONG_AUTH_REQUIRED;
|
||||
}
|
||||
|
||||
qpw->rs_old.bv_len = 0;
|
||||
qpw->rs_old.bv_val = NULL;
|
||||
qpw->rs_new.bv_len = 0;
|
||||
qpw->rs_new.bv_val = NULL;
|
||||
qpw->rs_mods = NULL;
|
||||
qpw->rs_modtail = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user