On 2/15/07, David Jones <[EMAIL PROTECTED]> wrote:
Currently util_ldap.c has a hard coded -1 as the search limit value (meaning infinite/no limit) on ldap_search_ext_s() calls. Some platforms cannot handle the -1, but need a 0. Linux, zoS (and others) have a LDAP_NO_LIMIT value in ldap.h. Below is a patch, allows those who have LDAP_NO_LIMIT value to take advantage of it, and others to continue using a -1 value.
patch committed to trunk and proposed for backport 2.2.x my guess is that -1 is rarely/never the proper value, but that isn't so easy to confirm; hopefully the symbol is always available in modern SDK levels