Re: Win32 Apache and ldap size limit problem.

2006-02-02 Thread Andy Wang
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. Ideall

Re: Win32 Apache and ldap size limit problem.

2005-12-06 Thread Andy Wang
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 is

Re: Win32 Apache and ldap size limit problem.

2005-12-05 Thread Andy Wang
William A. Rowe, Jr. wrote: Please clarify, this is the win32 WLDAP32.dll client to OpenLDAP 2.2 backend ldap server (e.g. on unix or whatever), ssl/tls is not involved? We tried the following code just to see if it's possible to override sizelimit. It works fine with openldap as the SDK (on

Re: Win32 Apache and ldap size limit problem.

2005-11-14 Thread Andy Wang
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 ser

Re: Win32 Apache and ldap size limit problem.

2005-11-14 Thread William A. Rowe, Jr.
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),

Win32 Apache and ldap size limit problem.

2005-11-14 Thread Andy Wang
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. After doing some research, it looks like the Microsoft SDK defaults the sizelimit to (2^32)-1 (4294967295 or basically an unsigned 32-