curl-library
Re: LDAP
Date: Tue, 21 Aug 2007 22:12:37 +0200 (CEST)
On Tue, 21 Aug 2007, Guenter Knauf wrote:
> I think that the win32api is always there for Cygwin, but at least my Cygwin
> install has also OpenLDAP, so why should one prefer the win32api
> implementation with CURL_LDAP_HYBRID when you can do a clean build and
> depend on OpenLDAP? Shouldnt the check be the other way, and first check if
> the OpenLDAP lib is present, and only use the win32api as last resort?
>
> I did just a plain configure without any params with a fresh CVS checkout on
> Cygwin, and winldap stuff seems always used; here is my config.log + the
> resulting config.h: http://www.gknw.net/test/curl/cygwin/
>
> then I modified configure.ac to exclude Cygwin from the wldap32 check, and
> this resulted then in a binary which uses OpenLDAP instead which works fine
> so far.
I'm not a lot into cygwin details, but I would agree that going plain openldap
there seems like the right choice.
Of course, the best would be if we actually had someone using cygwin-curl-ldap
around to speak up, but somehow I doubt that...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-08-21