From 6084373d10e6792f44ffd5f7584f4f376e4aaa4a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 16 Jul 2004 20:35:49 +0000 Subject: [PATCH] Improve error reporting --- clients/tools/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/tools/common.c b/clients/tools/common.c index 3c67c918c5..1acb01d1ca 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -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 ); } -- 2.39.5