]> git.sur5r.net Git - openldap/commitdiff
fix log message (ITS#2359)
authorPierangelo Masarati <ando@openldap.org>
Mon, 10 Mar 2003 07:36:42 +0000 (07:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 10 Mar 2003 07:36:42 +0000 (07:36 +0000)
servers/slapd/back-meta/bind.c

index 272ecb901a11133392ffea90d19c5dd441e00fe4..e59c24a2aadacdeb305d27e68e22f1647db09634 100644 (file)
@@ -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 */
 
                        /*