From: Howard Chu Date: Tue, 6 Apr 2004 23:29:33 +0000 (+0000) Subject: Fix search limits due to frontend limit_check change X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7122df3573a533c4d97f7ca1f6db33c72ff2511e;p=openldap Fix search limits due to frontend limit_check change --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index ff1964b7fc..8c74437d47 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -869,8 +869,8 @@ remove_query_data ( op->o_req_ndn = op->o_bd->be_nsuffix[0]; op->ors_scope = LDAP_SCOPE_SUBTREE; op->ors_deref = LDAP_DEREF_NEVER; - op->ors_slimit = 0; - op->ors_tlimit = 0; + op->ors_slimit = -1; + op->ors_tlimit = -1; op->ors_filter = &filter; op->ors_filterstr.bv_val = filter_str; op->ors_filterstr.bv_len = strlen(filter_str);