From: Pierangelo Masarati Date: Mon, 2 Jan 2006 16:20:39 +0000 (+0000) Subject: clarify generated password issue X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~480 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c67c99e3bd39a3cbb9726ef07ef81e2e3791569a;p=openldap clarify generated password issue --- diff --git a/servers/slapd/back-ldap/extended.c b/servers/slapd/back-ldap/extended.c index 398e09555c..21a4bd17f2 100644 --- a/servers/slapd/back-ldap/extended.c +++ b/servers/slapd/back-ldap/extended.c @@ -153,12 +153,20 @@ retry: rs->sr_text = NULL; } #endif /* LDAP_NULL_IS_NULL */ + if ( rc == LDAP_SUCCESS ) { if ( rs->sr_err == LDAP_SUCCESS ) { struct berval newpw; - + + /* this never happens because + * the frontend is generating + * the new password, so when + * the passwd exop is proxied, + * it never delegates password + * generation to the remote server + */ rc = ldap_parse_passwd( lc->lc_ld, res, - &newpw); + &newpw ); if ( rc == LDAP_SUCCESS && !BER_BVISNULL( &newpw ) ) {