[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
explicitely asking for unlimited number of results returns the soft limit instead (soft limit=N, hard limit=none) (ITS#3136)
Full_Name: Denis Havlik
Version: 2.1.x, 2.2.x
OS: Linux, Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.162.65.17)
I have encountered a somewhat strange behaviour (=bug?)of openldap with
following "limits" setup:
limits users size.soft=500 size.hard=none
What I expected to get was a limit of 500 in normal case, and unlimited number
of results when explicitely asked for. The reality is different:
1) Soft limit of 500 in default case works OK
2) Explicitely asking for N results (-z 10000) works OK too.
3) Explicitely asking for unlimited number of results (-z "0", -z "-1", -z
"none") does not work. Instead, soft limit (=500) of results is returned.
This has been tested with several versions of openLDAP from 2.1.x and 2.2.x
branches on Linux, and on Solaris. On the client side, I tried the perl
(Net::LDAP), and the openldap command line tools.