]> git.sur5r.net Git - openldap/commitdiff
handle cannotChain result
authorPierangelo Masarati <ando@openldap.org>
Mon, 31 Jan 2005 11:22:12 +0000 (11:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 31 Jan 2005 11:22:12 +0000 (11:22 +0000)
servers/slapd/overlays/glue.c

index 43802abbd5e7e070e4df9fd9247a959e46d0e770..2413ae28c5542c74ecbbf1ada21c96179eb06145 100644 (file)
@@ -378,6 +378,9 @@ glue_op_search ( Operation *op, SlapReply *rs )
                        case LDAP_TIMELIMIT_EXCEEDED:
                        case LDAP_ADMINLIMIT_EXCEEDED:
                        case LDAP_NO_SUCH_OBJECT:
+#ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
+                       case LDAP_CANNOT_CHAIN:
+#endif /* LDAP_CONTROL_X_CHAINING_BEHAVIOR */
                                goto end_of_loop;
                        
                        default: