From 998ab2f4419cf8880af6d9146af43d0b2891c888 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 10 Mar 2003 07:36:42 +0000 Subject: [PATCH] fix log message (ITS#2359) --- servers/slapd/back-meta/bind.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 */ /* -- 2.39.5