bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kerberos telnet?


From: Simon Josefsson
Subject: kerberos telnet?
Date: Thu, 12 Sep 2002 18:57:33 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

Is anyone using kerberos authentication in telnet?  After some trivial
patches to get it to compile, I still don't get it to work.  tcpdump
reveals that telnet doesn't offer to authenticate, and when the server
requests authentication the client refuses.

Index: acinclude.m4
===================================================================
RCS file: /cvsroot/inetutils/inetutils/acinclude.m4,v
retrieving revision 1.7
diff -u -p -r1.7 acinclude.m4
--- acinclude.m4        4 Aug 2002 14:13:41 -0000       1.7
+++ acinclude.m4        12 Sep 2002 16:55:53 -0000
@@ -561,7 +561,7 @@ AC_DEFUN(IU_CHECK_KRB5,
   KRB5_PREFIX=[$2]
   KRB5_IMPL="none"
   # First try krb5-config
-  if test "$KRB5_PREFIX" != "yes"; then
+  if test "$KRB5_PREFIX" != "yes" -a "$KRB5_PREFIX" != ""; then
     krb5_path="$KRB5_PREFIX/bin"
   else
     krb5_path="$PATH"
@@ -569,8 +569,8 @@ AC_DEFUN(IU_CHECK_KRB5,
   AC_PATH_PROG(KRB5CFGPATH, krb5-config, none, $krb5_path)
   if test "$KRB5CFGPATH" != "none"; then
     KRB5_CFLAGS="$CPPFLAGS `$KRB5CFGPATH --cflags krb$1`"
-    GSSAPI_LIBS="$MUTTLIBS `$KRB5CFGPATH --libs krb$1`"
-    GSSAPI_IMPL="Heimdal"
+    KRB5_LIBS="$LDFLAGS `$KRB5CFGPATH --libs krb$1`"
+    KRB5_IMPL="Heimdal"
   else
     ## OK, try the old code
     saved_CPPFLAGS="$CPPFLAGS"
Index: configure.ac
===================================================================
RCS file: /cvsroot/inetutils/inetutils/configure.ac,v
retrieving revision 1.12
diff -u -p -r1.12 configure.ac
--- configure.ac        2 Sep 2002 23:00:11 -0000       1.12
+++ configure.ac        12 Sep 2002 16:55:54 -0000
@@ -245,7 +245,7 @@ if test "$enable_encryption" = yes -o "$
   AH_TEMPLATE(DES_ENCRYPTION, [FIXME])
   AH_TEMPLATE(KERBEROS_V, [FIXME])
   
-  if test $KERBEROS_VERSION -eq 4; then
+  if test "$KERBEROS_VERSION" = 4; then
     AC_CHECK_LIB(krb, krb_mk_req,
                  [LIBAUTH=-lkrb
                   AC_DEFINE(KERBEROS_IV)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]