From 137e46059c9d6901f7b3ea84555f2a1949e87a80 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 30 Apr 2005 17:54:35 +0000 Subject: [PATCH] don't return client API error if the server is down... --- servers/slapd/back-meta/bind.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/back-meta/bind.c b/servers/slapd/back-meta/bind.c index 1c088369ae..8680609763 100644 --- a/servers/slapd/back-meta/bind.c +++ b/servers/slapd/back-meta/bind.c @@ -490,6 +490,8 @@ meta_back_dobind( rc = meta_back_single_dobind( op, rs, mc, i, LDAP_BACK_DONTSEND, mt->mt_nretries ); if ( rc != LDAP_SUCCESS ) { + rs->sr_err = slap_map_api2result( rs ); + Debug( LDAP_DEBUG_ANY, "%s meta_back_dobind[%d]: " "(anonymous) err=%d\n", op->o_log_prefix, i, rc ); -- 2.39.5