[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Re: Compiling OpenLDAP 2.0.27 with GSSAPI Support

>> Hello
>> Anybody knows how to compile OpenLDAP with Cyrus-SASL
>> support, so that it supports GSSAPI?
>> Do I have to to a special build of Cyrus-SASL or Kerberos?
>> I'm working on a AIX 5.1 machine and don't get that "GSSAPI" Method
>> working.
>> The error that ldapsearch gives me is:
>> ldap_sasl_interactive_bind_s: Unknown authentication method

>You have to compile cyrus-sasl and openldap with lib_krb5 and other
>kerberos related libs.

Hello Dieter

As I can think of, i've compiled in the requiring libs... I compiled
with the following args.:

env CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/include/gssapi/
-I/usr/local/include/" LDFLAGS=" -L/usr/local/ssl/lib -L/usr/local/lib/"
./configure --enable-shared --enable-gssapi --enable-krb4

env CPPFLAGS="-I/usr/local/ssl/include -I/usr/include/sasl
-I/usr/local/include/" LDFLAGS=" -L/usr/local/ssl/lib -L/usr/local/lib/
-lpam" ./configure --enable-ldbm --with-ldbm-api=gdbm --disable-shared
--with-ssl --with-kerberos --with-tls --with-cyrus-sasl --prefix=/usr
--sysconfdir=/etc  --enable-slapd  --enable-kpasswd --enable-spasswd

This worked without any configure or compiler errors...
But the error doesn't disappear.

So, what further steps would you recommend?

Thanks for your help


Stefan Rothenbühler, Informatik
Direktwahl +41 (0)41 767 65 53, Direktfax +41 (0)41 767 95 53

Industriestrasse 66, Postfach 59, CH-6301 Zug
Telefon +41 (0)41 767 67 67, Fax +41 (0)41 767 61 67
mailto:vzug@vzug.ch, http://www.vzug.ch