X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=clients%2Ftools%2Fldappasswd.c;h=9a6cb8838a5ef16903122385c803cf656b051269;hb=fb6590f8db1b3cec24e00a888e033ee427d4aaab;hp=ad5af860108cdf15c856a1de2a57f9e5226bbfe0;hpb=ef3fb24f398b1bbbf9532ec06b81424523572bee;p=openldap diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index ad5af86010..9a6cb8838a 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -580,7 +580,8 @@ main( int argc, char *argv[] ) } if( ld == NULL ) { - fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", rc ); + fprintf( stderr, "Could not create LDAP session handle (%d): %s\n", + rc, ldap_err2string(rc) ); return EXIT_FAILURE; }