[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/clients/tools ldapsearch.c



Kurt D. Zeilenga wrote:

At 11:03 AM 6/18/2004, Kurt D. Zeilenga wrote:


In slapd(8), if the user requests sizeLimit=0, they get the
soft limit. If they request sizeLimit>0, they get that limit
as long as it is not greater than the hard limit otherwise
an error occurs.



s/otherwise an error occurs/otherwise the hard limit is used/

(which is what I think the current slapd(8) behavior is)


No, currently -z value with value > hard returns administrativeLimitExceeded.
Honestly, I don't remember how we got there, but I'm positive this resulted from
a debate. The idea was:


no specific request:               use soft
specific request <= hard:      use hard
specific request > hard:        admin limit

I haven't looked at its implications for a while, and it seems weird to me that
the server may refuse a legal request in such a drastic way; I'd rather simply
stay with the hard limit if the request exceeds it.


p.



   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497