Openldap 2.3.21, Cyrus 2.1.22 and ldapdb

Igor Brezac igor at ipass.net
Tue Apr 11 15:31:22 EDT 2006


On Tue, 11 Apr 2006, Howard Chu wrote:

> 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
>
> A better check would just be
> #elif LDAP_VENDOR_VERSION >= 20206

This is already handled in auto scripts.  Next release should be cover 
this issue.

-Igor

>
>> ------------------------------------------------------------------------
>> 
>> *** 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
>> 
>
>
>

-- 
Igor


More information about the Cyrus-sasl mailing list