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

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



Howard Chu wrote:
>Kurt D. Zeilenga wrote:
>
>> I'm presently thinking it better to lower the effective limit
>> to the hard limit instead of treating the too high limit
>> request as an (adminLimitExceeded or like) error.
>
> Doesn't that sort of negate the purpose of the AdminLimitExceeded error
> code then?

Would it be hard to set the limit to the minimum of the client-specified
and the hard limit, and return sizeLimitExceeded or adminLimitExceeded
depending on which limit is active?

-- 
Hallvard