]> git.sur5r.net Git - openldap/commitdiff
Use LDAP_OTHER to indicate internal error
authorKurt Zeilenga <kurt@openldap.org>
Sat, 12 Aug 2006 21:46:29 +0000 (21:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 12 Aug 2006 21:46:29 +0000 (21:46 +0000)
servers/slapd/back-ldap/bind.c
servers/slapd/back-meta/bind.c

index b71c8599f9b1748418c969eebb1585a7bbe902ac..3df85b3cce1ab5fa340e6d332419dbdce2f99cac 100644 (file)
@@ -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;
                        }
index c5b4219091c5d7c7161c2725b51cfdf07147e2b0..9a3b8c8f33fc6d7340397790ce2c250862559522 100644 (file)
@@ -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;
                                }