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

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



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.

At 02:25 PM 6/21/2004, Pierangelo Masarati 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)
>
>I confirm, the current behavior is that an error occurs
>if a limit greater than hard is explicitly requested
>by the client.  I've found the message thread where the
>limits behavior was designed.  Unless amended in later
>messages (I didn't follow the whole thread), this is what
>we agreed at the time.
>
>http://www.openldap.org/lists/openldap-devel/200107/msg00126.html
>
>Of course, we can amend it now; however, now the "max"
>mechanism allows to directly hit the hard limit, if any.
>
>Ciao, Ando.
>
>-- 
>Pierangelo Masarati
>mailto:pierangelo.masarati@sys-net.it
>
>
>    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497