Openldap 2.3.21, Cyrus 2.1.22 and ldapdb

Alexey Melnikov alexey.melnikov at isode.com
Tue Apr 11 16:40:35 EDT 2006


Chidananda Jayakeerti wrote:

> Hello,
>
> I'm trying to configure cyrus-2.1.22 ldapdb with OpenLDAP 2.3.21. I 
> get  the  following  error,
>  
> configure: error: Cannot enable LDAPDB plugin: OpenLDAP library 
> located but incompatible
>
> I patched the configure script (I know it's ugly) and it compiles 
> ldapdb. See attached file
>
> I'm not sure if this is recommened. Any advice is appreciated.

> When will cyrus-sasl 2.1.22 released?

Hopefully early next week. However I've already promised a date twice, 
so I should shut up now.

>*** configure.orig	2006-04-12 01:54:05.000000000 -0700
>--- configure	2006-04-12 01:54:50.000000000 -0700
>***************
>*** 12252,12255 ****
>--- 12252,12258 ----
>  #elif LDAP_VENDOR_VERSION_MAJOR == 2  && LDAP_VENDOR_VERSION_MINOR == 2 && LDAP_VENDOR_VERSION_PATCH > 5
>  char *__openldap_compat = "2.2.6 or better okay";
>+ #elif LDAP_VENDOR_VERSION_MAJOR == 2  && LDAP_VENDOR_VERSION_MINOR == 3 && LDAP_VENDOR_VERSION_PATCH > 5
>+ char *__openldap_compat = "2.3.6 or better okay";
>+ #endif
>  #endif
>  
>
I've committed a similar change to openldap.m4. It checks for 
"LDAP_VENDOR_VERSION_MINOR > 2". I assumed that all 2.3.X versions 
should be alright. Let me know if this is not true.
*
*


More information about the Cyrus-sasl mailing list