From: Ted Cheng Date: Tue, 3 Jul 2012 23:12:22 +0000 (-0700) Subject: ITS#7319 Always encode user DN in pwmod request. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b937d82f23841e90bff9bf453cfaa6af7ec3de4;p=openldap ITS#7319 Always encode user DN in pwmod request. --- diff --git a/servers/slapd/back-ldap/extended.c b/servers/slapd/back-ldap/extended.c index b96ddc0367..b596b22ca5 100644 --- a/servers/slapd/back-ldap/extended.c +++ b/servers/slapd/back-ldap/extended.c @@ -186,7 +186,7 @@ ldap_back_exop_passwd( dn.bv_val, isproxy ? " (proxy)" : "", 0 ); retry: - rc = ldap_passwd( lc->lc_ld, isproxy ? &dn : NULL, + rc = ldap_passwd( lc->lc_ld, &dn, qpw->rs_old.bv_val ? &qpw->rs_old : NULL, qpw->rs_new.bv_val ? &qpw->rs_new : NULL, op->o_ctrls, NULL, &msgid );