From 692c37720ff51609000c78e5c539001772093c4c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 7 Apr 2004 15:10:26 +0000 Subject: [PATCH] Fix internal search limits (due to recent limit_check change) --- servers/slapd/saslauthz.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5