FYI,
I posted a patch to http://issues.apache.org/bugzilla/show_bug.cgi?id=37814
I took the easy route and just added a #if block to util_ldap to set a
sizelimit of 2147483647 if the microsoft ldap sdk was in use or
otherwise -1 and use this sizelimit define in ldap_search_ext_s calls.
Filed bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=37814
Made a couple of suggestions
1) use #if's to determine if it's windows and pass in the appropriate
sizelimit to ldap_search_ext_s on windows
2) use ldap_search_s instead of ldap_search_ext_s. It doesn't look like
util_ldap.c
Andy Wang wrote:
I noticed that with OpenLDAP 2.2.x, auth_ldap from apache on windows
fails. The actual error ends up being a invalid size limit on the
openldap end of things.
Please clarify, this is the win32 WLDAP32.dll client to OpenLDAP 2.2
backend ldap server (e.g. on unix or whatever),
William A. Rowe, Jr. wrote:
Andy Wang wrote:
I noticed that with OpenLDAP 2.2.x, auth_ldap from apache on windows
fails. The actual error ends up being a invalid size limit on the
openldap end of things.
Please clarify, this is the win32 WLDAP32.dll client to OpenLDAP 2.2
backend ldap