From: Pierangelo Masarati Date: Mon, 10 Mar 2003 07:36:42 +0000 (+0000) Subject: fix log message (ITS#2359) X-Git-Tag: NO_SLAP_OP_BLOCKS~159 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=998ab2f4419cf8880af6d9146af43d0b2891c888;p=openldap fix log message (ITS#2359) --- 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 */ /*