[Date Prev][Date Next]
Re: Can't get unlimited number of results when soft limit != none, and hard limit = none.
- To: firstname.lastname@example.org
- Subject: Re: Can't get unlimited number of results when soft limit != none, and hard limit = none.
- From: Pierangelo Masarati <email@example.com>
- Date: Sat, 01 May 2004 09:58:54 +0200
- Cc: openldap-software@OpenLDAP.org
- References: <OF40F7C221.61E00C2D-ONC1256E84.005ED030-C1256E84.005FCC20@t-mobile.at>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
I thought that setting a soft limit to "N" and hard limit to "none"
would allow me to explicitely request a return of "unlimited" number
of results if I really want to, while keeping the result sets smaller
in normal use.
Somewhat surprisingly, I found out that I can't explicitely ask for
"-1" or "unlimited" number of results with such a setup. Asking for
10000 or 100000 entries is OK, but asking for limit of "-1", "0" or
"none" returns the soft limit number of entries. (Tested with
ldapsearch and perl net::ldap)
Is this a bug, or a feature?