Openldap 2.3.21, Cyrus 2.1.22 and ldapdb
Howard Chu
hyc at highlandsun.com
Tue Apr 11 15:17:57 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
A better check would just be
#elif LDAP_VENDOR_VERSION >= 20206
> ------------------------------------------------------------------------
>
> *** 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
>
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
OpenLDAP Core Team http://www.openldap.org/project/
More information about the Cyrus-sasl
mailing list