sasl support breaks ldap module for unresolved kerberos symbols.
Attached patch fix this issue by explicitely linking against kerberos libs.
-- 
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62
diff -Naur --exclude '*~' autofs-5.0.2/configure.in autofs-5.0.2-link-with-kerberos-lib/configure.in
--- autofs-5.0.2/configure.in	2007-11-17 12:18:07.000000000 +0100
+++ autofs-5.0.2-link-with-kerberos-lib/configure.in	2007-11-17 12:17:26.000000000 +0100
@@ -243,7 +243,7 @@
 if test -z "$HAVE_SASL" -a "$HAVE_LIBXML" == "1"
 then
 	HAVE_SASL=0
-	AC_CHECK_LIB(sasl2, sasl_client_start, HAVE_SASL=1 LIBSASL="$LIBSASL -lsasl2", , -lsasl2 $LIBS)
+	AC_CHECK_LIB(sasl2, sasl_client_start, HAVE_SASL=1 LIBSASL="$LIBSASL -lsasl2 -lkrb5", , -lsasl2 $LIBS)
 	if test "$HAVE_SASL" == "1"; then
 		AC_DEFINE(WITH_SASL,1,
 			[Define if using SASL authentication with the LDAP module])
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to