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

kpasswd configuration fails on FreeBSD (ITS#2772)

Full_Name: Kurt Zeilenga
Version: HEAD, 2.1, 2.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

On FreeBSD 4.9 (and likely other versions), configure --enable-kpasswd
detections the presence of Kerberos V but, due to improper selection of
dependent libraries, detection fails.  Below is patch which shows which
libraries should have been detected.  The patch is only intended as
demonstration of what FreeBSD 4.9 requires.  The patch should not be applied to
configure.in, instead configure.in should be updated to do proper dependent
library selection.

--- configure.in        14 Oct 2003 03:47:04 -0000      1.489
+++ configure.in        16 Oct 2003 16:31:43 -0000
@@ -1119,9 +1119,10 @@
                                [-l$krb5crypto -lcom_err])
                elif test $krb5_impl = heimdal; then
-                       AC_CHECK_LIB(des, main,
-                               [krb5crypto=des],
-                               [krb5crypto=crypto])
+#                      AC_CHECK_LIB(des, main,
+#                              [krb5crypto=des],
+#                              [krb5crypto=crypto])
+                       krb5crypto="crypto -lcrypt"
                        AC_CHECK_LIB(krb5, main,