[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
limits on internal searches
- To: openldap-devel@OpenLDAP.org
- Subject: limits on internal searches
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Sat, 19 Jun 2004 16:59:11 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
I've run into a problem with test017 which is currently failing for HEAD
after I added some consistency checks on the values of search limits.
I'm about to fix it, but I found out that some syncrepl code is checking
search limits before running internal searches. Is it intended? I mean,
is there any reason the identity that performs an internal search needs to
check if any limits are set? In that case, I strongly suggest any time
limits
are checked, an appropriate value is provided to fields op->ors_tlimit
and op->ors_slimit. By protocol, these fields can only have values >= 0,
so if theey're set to SLAP_NO_LIMIT (= -1) it means they're being used
in an internal search that requirs no limitations. Otherwise, please set
them to 0 (no specific limit required, incurring in soft limits if any)
or to a positive value (e.g. 1 is used for auth{cz} related internal
searches
because strictly one value is required.
P.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497