curl-library
Re: [PATCH] OpenLDAP support
Date: Wed, 12 May 2010 04:55:45 -0700
Guenter wrote:
> Hi Howard,
> Am 11.05.2010 16:41, schrieb Howard Chu:
>> The Novell LDAP SDK doesn't support the ldap_get_option(LDAP_OPT_DESC)
>> so there's really no way to plug that in and give libcurl control. It
>> appears that they forked OpenLDAP back in 1999 and haven't adopted any
>> of our work since that time.
>>
>> http://developer.novell.com/documentation/cldap/ldaplibc/data/a4or5jp.html
>>
>> I'd say it's not worth worrying about since OpenLDAP builds on all of
>> the platforms that the Novell SDK supports. (And obviously, on many
>> platforms that Novell doesn't support, e.g. IBM OS/390 and z/OS, ARM
>> Linux, etc. etc...)
> I really apreciate your recent work on the libcurl LDAP support; I will
> aso check asap how situation is now with building OpenLDAP client with
> MingW32 MSYS and cross, and with Novell NetWare LIBC / CLIB. Since
> you're a core developer of OpenLDAP I hope I can get some support from
> you if I struggle, and also can get any resulting fixes / makefiles for
> NetWare into main source distro. I've not yet checked latest OpenLDAP
> sources but are there meanwhile nmakefiles or project files with the
> source to build with MSVC compilers?
I will certainly help with whatever problems come up. We dropped all of the
MSVC project files from the repo years ago because no one wanted to maintain
them. Building with MSYS is really the only supported approach now. However,
I've built using the MSVC command line in MSYS in the past, using a wrapper
script called cccl which turns Unix cc options into MSVC options. I don't
recall where to download a current version of cccl at the moment.
> Oh, and just another thingy: how about adding support for DER format for
> certs with OpenLDAP?
Yeah, I've been thinking about that recently. Actually I'm working on an
enhancement to use certs that are stored in the LDAP directory itself, and of
course those are stored in DER. So yes, we're going to add this soon anyway,
but that will be a 2.5 release item.
-- -- 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.htmlReceived on 2010-05-12