mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
complain if new password is not returned when expected
This commit is contained in:
parent
0e6f61aa03
commit
9db7874784
@ -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 New Issue
Block a user