bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Fix Shishi authentication


From: Simon Josefsson
Subject: [bug-inetutils] Fix Shishi authentication
Date: Tue, 13 Mar 2007 17:34:02 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)

Hi!  I tracked down why krb5 telnet with Shishi didn't work for me.
It seems I misunderstood what the use-session-key flag in the
ap-options means, and it shouldn't be used here.

Thanks,
Simon

2007-03-13  Simon Josefsson  <address@hidden>

        * libtelnet/shishi.c (krb5shishi_send): Don't set a
        use-session-key ap-options, that is for user2user authentication
        which is not appropriate here.

--- shishi.c    08 Mar 2007 15:02:20 +0100      1.2
+++ shishi.c    13 Mar 2007 17:31:30 +0100      
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Simon Josefsson
+/* Copyright (C) 2002, 2003, 2007 Simon Josefsson
    Copyright (C) 2003 Free Software Foundation, Inc.
 
 This file is part of Shishi / GNU Inetutils.
@@ -169,10 +169,6 @@
   else
     ap_opts = 0;
 
-# ifdef ENCRYPTION
-  ap_opts |= SHISHI_APOPTIONS_USE_SESSION_KEY;
-# endif        /* ENCRYPTION */
-
   type_check[0] = ap->type;
   type_check[1] = ap->way;
 




reply via email to

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