[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Unable to build OpenLDAP with kerberos because of bug in configure script (ITS#3027)
Full_Name: Eric M. Boehm
Version: 2.1.25 and 2.2.6
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.234.0.52)
There is a bug in the configure script as of OpenLDAP 2.1.25 and OpenLDAP 2.2.6
Looking at lines 2802-2823 of configure for OpenLDAP 2.2.6, even if you specify
--with-kerberos and --enable-kpasswd, configure never builds with kerberos
because the code below sets --with-kerberos to no.
The problem is the reference to ol_enable_kbind. Configure doesn't recognize the
option --enable-kbind and line 1483 sets this variable to no
1483:
ol_enable_kbind=${ol_enable_kbind-no}
2802:
if test $ol_enable_kbind = yes -o $ol_enable_kpasswd = yes ; then
if test $ol_with_kerberos = no ; then
{ echo "configure: error: options require --with-kerberos"
1>&2;
exit 1; }
elif test $ol_with_kerberos = auto ; then
ol_with_kerberos=yes
fi
elif test $ol_enable_kbind = no -o $ol_enable_kpasswd = no ; then
if test $ol_with_kerberos = auto ; then
ol_with_kerberos=no
elif test $ol_with_kerberos != no ; then
echo "configure: warning: Kerberos detection enabled
unnecessari
ly" 1>&2;
ol_with_kerberos=no
fi
fi