mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
clarify generated password issue
This commit is contained in:
parent
b55557e30b
commit
c67c99e3bd
1 changed files with 10 additions and 2 deletions
|
|
@ -153,12 +153,20 @@ retry:
|
||||||
rs->sr_text = NULL;
|
rs->sr_text = NULL;
|
||||||
}
|
}
|
||||||
#endif /* LDAP_NULL_IS_NULL */
|
#endif /* LDAP_NULL_IS_NULL */
|
||||||
|
|
||||||
if ( rc == LDAP_SUCCESS ) {
|
if ( rc == LDAP_SUCCESS ) {
|
||||||
if ( rs->sr_err == LDAP_SUCCESS ) {
|
if ( rs->sr_err == LDAP_SUCCESS ) {
|
||||||
struct berval newpw;
|
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,
|
rc = ldap_parse_passwd( lc->lc_ld, res,
|
||||||
&newpw);
|
&newpw );
|
||||||
if ( rc == LDAP_SUCCESS &&
|
if ( rc == LDAP_SUCCESS &&
|
||||||
!BER_BVISNULL( &newpw ) )
|
!BER_BVISNULL( &newpw ) )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue