Skip to contentSkip to conversation

patch: explicitely link against kerberos libs for sasl support

PATCH Guillaume Rousse 2 participants 2 messages Nov 17, 2007 – Nov 18, 2007 Kernel automounter

lore
Share & tools
lore
#0 lore raw

sasl support breaks ldap module for unresolved kerberos symbols. Attached patch fix this issue by explicitely linking against kerberos libs.

Signature · 3 lines
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62
configure.in +1 -1
diff -Naur --exclude '*~' autofs-5.0.2/configure.in autofs-5.0.2-link-with-kerberos-lib/configure.in
@@ -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

maintainer
#1 lore raw
Quoted 2 lines · Guillaume Rousse

sasl support breaks ldap module for unresolved kerberos symbols. Attached patch fix this issue by explicitely linking against kerberos libs.

Thanks Guillaume.
I think there's something else not quite right with this as well. I'll test and fix this when I look at that issue.

Ian