[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: upgraded to sasl v2, and now openldap complains when compiling
OpenLDAP 2.0 only supports Cyrus SASL 1.5. You need to use OpenLDAP 2.1
if you want to use Cyrus SASL 2.1. Also, you need to use Cyrus SASL 2.1.3;
2.1.2 is too buggy.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Dave Snoopy
> I just upgraded from Cyrus SASL 1.5.27 to 2.1.2.
>
> Now, when compiling my OpenLDAP (version 2.0.23), I
> get the error below. It seems as if the header files
> for Cyrus SASL v2 are not fully compatible with the
> header files for SASL v1. For instance, there are
> certain typedefs in sasl.h for version 1 that are not
> present in sasl.h for version 2. Is this a known
> issue? If so, how can I get a version of OpenLDAP that
> supports SASLv2?
>
> Thanks,
> Dave
>
> cyrus.c:654: `SASL_REALM' undeclared (first use in
> this function)
> cyrus.c:654: warning: passing arg 3 of `sasl_getprop'
> from incompatible
> pointer
> type
> cyrus.c:660: warning: passing arg 3 of `sasl_getprop'
> from incompatible
> pointer
> type
> cyrus.c: In function `ldap_int_sasl_external':
> cyrus.c:687: syntax error before `extprops'
> cyrus.c:695: `extprops' undeclared (first use in this
> function)
> cyrus.c: In function `ldap_int_sasl_get_option':
> cyrus.c:870: warning: passing arg 3 of `sasl_getprop'
> from incompatible
> pointer
> type
> cyrus.c: In function `ldap_int_sasl_set_option':
> cyrus.c:916: syntax error before `extprops'
> cyrus.c:929: `extprops' undeclared (first use in this
> function)
> *** Error code 1
>
> Stop in
> /usr/install_files/openldap-2.0.23/libraries/libldap.
> *** Error code 1
>
> Stop in /usr/install_files/openldap-2.0.23/libraries.
> *** Error code 1
>
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com