* login.c: Re-arrange to deal with compiling without krb4 support. [148]
+Fri Nov 8 20:59:27 1996 Tom Yu <tlyu@mit.edu>
+
+ * login.c (k_init): Set up KRBTKFILE if converting krb5 tickets to
+ krb4 but not getting them via password.
+
Wed Nov 6 11:32:36 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* login.c (destroy_tickets): Just use global kcontext instead
if (krb_get_lrealm(realm, 1) != KSUCCESS) {
strncpy(realm, KRB_REALM, sizeof(realm));
}
- if (login_krb4_get_tickets) {
+ if (login_krb4_get_tickets || login_krb4_convert) {
/* Set up the ticket file environment variable */
strncpy(tkfile, KRB_TK_DIR, sizeof(tkfile));
strncat(tkfile, strrchr(ttyn, '/')+1,