From: Pierangelo Masarati Date: Sat, 30 Apr 2005 17:54:35 +0000 (+0000) Subject: don't return client API error if the server is down... X-Git-Tag: OPENLDAP_AC_BP~758 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=137e46059c9d6901f7b3ea84555f2a1949e87a80;p=openldap don't return client API error if the server is down... --- 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 );