From: Kurt Zeilenga Date: Sat, 12 Aug 2006 21:46:29 +0000 (+0000) Subject: Use LDAP_OTHER to indicate internal error X-Git-Tag: OPENLDAP_REL_ENG_2_4_3ALPHA~9^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ba9bc1c2d7463f4f1f82ed31a09be2022b574a7;p=openldap Use LDAP_OTHER to indicate internal error --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index b71c8599f9..3df85b3cce 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -1281,7 +1281,7 @@ retry:; if ( timeout ) { (void)ldap_back_cancel( lc, op, rs, msgid, sendok ); rs->sr_err = op->o_protocol >= LDAP_VERSION3 ? - LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR; + LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER; rs->sr_text = "Operation timed out"; break; } diff --git a/servers/slapd/back-meta/bind.c b/servers/slapd/back-meta/bind.c index c5b4219091..9a3b8c8f33 100644 --- a/servers/slapd/back-meta/bind.c +++ b/servers/slapd/back-meta/bind.c @@ -862,7 +862,7 @@ retry:; if ( timeout ) { (void)meta_back_cancel( mc, op, rs, msgid, candidate, sendok ); rs->sr_err = op->o_protocol >= LDAP_VERSION3 ? - LDAP_ADMINLIMIT_EXCEEDED : LDAP_OPERATIONS_ERROR; + LDAP_ADMINLIMIT_EXCEEDED : LDAP_OTHER; rs->sr_text = "Operation timed out"; break; }