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

kinit -R -9



In Heimdal 0.4a, kinit -9 -R renews your krb5 tickets but not your krb4
ones.  The following trivial patch fixes this (if it's not already fixed in
CVS).

--- kinit.c.orig	Mon Jul  2 15:12:22 2001
+++ kinit.c	Thu Jul 12 22:51:44 2001
@@ -646,6 +646,10 @@
     if(renew_flag || validate_flag) {
 	ret = renew_validate(context, renew_flag, validate_flag, 
 			     ccache, server, ticket_life);
+#ifdef KRB4
+        if(convert_524 && !ret)
+            do_524init(context, ccache, NULL, server);
+#endif
 	exit(ret != 0);
     }
 
-- 

..ooOO chris@chiappa.net              | My opinions are my own  OOoo..
..ooOO chris.chiappa@oracle.com       | and certainly not those OOoo..
..ooOO http://www.chiappa.net/~chris/ | of my employer          OOoo..