From: Howard Chu Date: Wed, 7 Apr 2004 15:10:26 +0000 (+0000) Subject: Fix internal search limits (due to recent limit_check change) X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~103 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=692c37720ff51609000c78e5c539001772093c4c;p=openldap Fix internal search limits (due to recent limit_check change) --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index edd348657e..6aed39bb43 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -750,6 +750,8 @@ exact_match: op.o_conn = opx->o_conn; op.o_connid = opx->o_connid; op.o_req_dn = op.o_req_ndn; + op.oq_search.rs_slimit = 1; + op.oq_search.rs_tlimit = -1; op.o_bd->be_search( &op, &rs ); @@ -941,6 +943,7 @@ void slap_sasl2dn( Operation *opx, #endif op.oq_search.rs_deref = LDAP_DEREF_NEVER; op.oq_search.rs_slimit = 1; + op.oq_search.rs_tlimit = -1; op.oq_search.rs_attrsonly = 1; op.o_req_dn = op.o_req_ndn;