From: Tom Yu Date: Sun, 10 Nov 1996 08:02:17 +0000 (+0000) Subject: * login.c (k_init): Set up KRBTKFILE if converting krb5 tickets to X-Git-Tag: krb5-1.0-freeze1~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6f731ceeeb3bcb27dc3c9450eacd3e1162b69a2a;p=krb5.git * login.c (k_init): Set up KRBTKFILE if converting krb5 tickets to krb4 but not getting them via password. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9360 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 7d53a211b..cc009a275 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -2,6 +2,11 @@ Sat Nov 9 10:49:36 1996 Sam Hartman * login.c: Re-arrange to deal with compiling without krb4 support. [148] +Fri Nov 8 20:59:27 1996 Tom Yu + + * 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 * login.c (destroy_tickets): Just use global kcontext instead diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 6793d10cb..7542a23a8 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -494,7 +494,7 @@ void k_init (ttyn) 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,