mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Improve error reporting
This commit is contained in:
parent
6b285d12c9
commit
6084373d10
1 changed files with 2 additions and 2 deletions
|
|
@ -687,8 +687,8 @@ tool_conn_setup( int not, void (*private_setup)( LDAP * ) )
|
|||
rc = ldap_initialize( &ld, ldapuri );
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
fprintf( stderr,
|
||||
"Could not create LDAP session handle (%d): %s\n",
|
||||
rc, ldap_err2string(rc) );
|
||||
"Could not create LDAP session handle for URI=%s %d): %s\n",
|
||||
ldapuri, rc, ldap_err2string(rc) );
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue