You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/03/06 15:44:07 UTC
DO NOT REPLY [Bug 46698] invalid default sizelimit in ldap searches
https://issues.apache.org/bugzilla/show_bug.cgi?id=46698
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|mod_auth_ldap |APR-util
Version|2.3-HEAD |HEAD
AssignedTo|bugs@httpd.apache.org |bugs@apr.apache.org
Product|Apache httpd-2 |APR
--- Comment #2 from Eric Covener <co...@gmail.com> 2009-03-06 06:44:05 PST ---
#if APR_HAS_ZOS_LDAPSDK || APR_HAS_MICROSOFT_LDAPSDK
#define APR_LDAP_SIZELIMIT LDAP_NO_LIMIT
#else
#ifdef LDAP_DEFAULT_LIMIT
#define APR_LDAP_SIZELIMIT LDAP_DEFAULT_LIMIT
#else
#define APR_LDAP_SIZELIMIT -1 /* equivalent to LDAP_DEFAULT_LIMIT */
#endif
#endif
Why isn't the first macro just #ifdef LDAP_NO_LIMIT?
On my recent linux system, ldap.h has LDAP_NO_LIMIT defined as 0.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org