mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
complain if new password is not returned when expected
This commit is contained in:
parent
0e6f61aa03
commit
9db7874784
1 changed files with 4 additions and 0 deletions
|
|
@ -380,6 +380,10 @@ main( int argc, char *argv[] )
|
|||
}
|
||||
|
||||
ber_free( ber, 1 );
|
||||
|
||||
} else if ( newpw.bv_val == NULL ) {
|
||||
tool_perror( "ldap_parse_extended_result", LDAP_DECODING_ERROR,
|
||||
" new password expected", NULL, NULL, NULL );
|
||||
}
|
||||
|
||||
if( verbose || code != LDAP_SUCCESS || matcheddn || text || refs ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue