cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] OpenLDAP support

From: Howard Chu <hyc_at_highlandsun.com>
Date: Thu, 20 May 2010 19:12:04 -0700

Daniel Stenberg wrote:
> On Sat, 8 May 2010, Howard Chu wrote:
>
>> Also notice that going this route means you don't need a separate check for
>> ldaps support.
>
> I want to use this approach, at least for LDAP provided by a modern-enough
> OpenLDAP. I figure a careful approach would use the old lib/ldap.c for older
> or non-OpenLDAP systems and this new lib/openldap.[ch] approach for new enough
> openldap systems.
>
> For this to work fine, I figure we need a slightly extended fix that adds
> configure magic and that adds files to lib/Makefile.inc.
>
> You think this makes sense Howard?

Try this patch then. I dropped openldap.h since it wasn't really needed; just
added the #ifdefs to curl_ldap.h instead.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-05-21