From 4ba9bc1c2d7463f4f1f82ed31a09be2022b574a7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 12 Aug 2006 21:46:29 +0000 Subject: [PATCH] Use LDAP_OTHER to indicate internal error --- servers/slapd/back-ldap/bind.c | 2 +- servers/slapd/back-meta/bind.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5