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

kinit/kauth problem in Heimdal 0.3f



Kauth and Kinit doesn't honor individual settings for a realm for
the retrievment of K4-tickets. The results of krb5_princ_realm
need to be dereferenced. See attached patch.

/thn
--- ../../heimdal-0.3f.original/kuser/kinit.c	Mon May  7 23:08:15 2001
+++ kinit.c	Mon Jun 18 21:56:57 2001
@@ -491,7 +491,7 @@
 					       NULL,
 					       get_v4_tgt,
 					       "realms",
-					       krb5_princ_realm(context,
+					       *krb5_princ_realm(context,
 								principal),
 					       "krb4_get_tickets",
 					       NULL);