From: Kurt Zeilenga Date: Wed, 12 Mar 2003 23:27:43 +0000 (+0000) Subject: ITS#2359 fix from HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_1_16~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=661a92a12a7f619ad6c4ac88a62cc0890701f1e1;p=thirdparty%2Fopenldap.git ITS#2359 fix from HEAD --- diff --git a/servers/slapd/back-meta/bind.c b/servers/slapd/back-meta/bind.c index 272ecb901a..e59c24a2aa 100644 --- a/servers/slapd/back-meta/bind.c +++ b/servers/slapd/back-meta/bind.c @@ -383,17 +383,15 @@ meta_back_dobind( struct metaconn *lc, Operation *op ) #ifdef NEW_LOGGING LDAP_LOG( BACK_META, WARNING, "meta_back_dobind: (anonymous)" - " bind as \"%s\" failed" - " with error \"%s\"\n", - lsc->bound_dn.bv_val, - ldap_err2string( rc ), 0 ); + " bind failed" + " with error %d (%s)\n", + rc, ldap_err2string( rc ), 0 ); #else /* !NEW_LOGGING */ Debug( LDAP_DEBUG_ANY, "==>meta_back_dobind: (anonymous)" - " bind as \"%s\" failed" - " with error \"%s\"\n%s", - lsc->bound_dn.bv_val, - ldap_err2string( rc ), "" ); + " bind failed" + " with error %d (%s)\n", + rc, ldap_err2string( rc ), 0 ); #endif /* !NEW_LOGGING */ /*