]> git.sur5r.net Git - openldap/commitdiff
ITS#7319 Always encode user DN in pwmod request.
authorTed Cheng <tedcheng@symas.com>
Tue, 3 Jul 2012 23:12:22 +0000 (16:12 -0700)
committerHoward Chu <hyc@openldap.org>
Tue, 3 Jul 2012 23:13:36 +0000 (16:13 -0700)
servers/slapd/back-ldap/extended.c

index b96ddc03679dcd8cde4bbbc16c06d38f09abbea3..b596b22ca5b77ab32ba38308ef813255e16cc76e 100644 (file)
@@ -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 );