]> eyrie.org Git - kerberos/kftgt.git/commitdiff
Ignore kftgt errors due to the remote host not running kftgtd in the
authorRuss Allbery <rra@stanford.edu>
Wed, 6 Jun 2007 07:16:36 +0000 (07:16 +0000)
committerRuss Allbery <rra@stanford.edu>
Mon, 15 Mar 2010 06:05:56 +0000 (23:05 -0700)
klogin and krsh wrappers.

NEWS
klogin
krsh

diff --git a/NEWS b/NEWS
index f5ba3303036e8ad2ce0b4b844adbd3767751fb27..279cc79e855324cb44334f383c35e332ceccf835 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,10 @@
                         User-Visible kftgt Changes
 
+kftgt 1.14 (2007-06-06)
+
+    Ignore kftgt errors due to the remote host not running kftgtd in the
+    klogin and krsh wrappers.
+
 kftgt 1.13 (2007-03-06)
 
     If kftgt fails with an exit status indicating no Kerberos v4 ticket
diff --git a/klogin b/klogin
index 19584fd4b31877b30d95b6b0fbe1220b689de620..30a0cf25e331d357de3370f1c6d855cbf7ddba18 100755 (executable)
--- a/klogin
+++ b/klogin
@@ -257,7 +257,7 @@ sub forward_ticket {
     print "@command\n" if $CONFIG{verbose};
     my $status = system (@command);
     $status >>= 8;
-    if ($status != 0 && $status != 4 && $status != 5) {
+    if ($status != 0 && $status != 3 && $status != 4 && $status != 5) {
         die "$0: $command[0] failed with exit status $status\n";
     }
 }
diff --git a/krsh b/krsh
index a5a68291aaf848a6f5df4f3f7aaf780eae62b69b..2b56f909ab98294cba7d3e66d6b2cea34865b882 100755 (executable)
--- a/krsh
+++ b/krsh
@@ -161,7 +161,7 @@ sub forward_ticket {
     print "@command\n" if $CONFIG{verbose};
     my $status = system (@command);
     $status >>= 8;
-    if ($status != 0 && $status != 4 && $status != 5) {
+    if ($status != 0 && $status != 3 && $status != 4 && $status != 5) {
         die "$0: $command[0] failed with exit status $status\n";
     }
 }