[4319] in testers

home help back first fref pref prev next nref lref last post

Kerberos tickets lost on login

daemon@ATHENA.MIT.EDU (Richard J. Barbalace)
Tue Jul 20 18:26:08 1999

Message-Id: <199907202225.SAA01574@steve-dallas.mit.edu>
To: testers@MIT.EDU
Cc: rjbarbal@MIT.EDU
Date: Tue, 20 Jul 1999 18:25:59 EDT
From: "Richard J. Barbalace" <rjbarbal@MIT.EDU>

Hi.

I appear to lose my kerberos tickets shortly after login.  Thinking
that my dotfiles might just be broken under the new release, I logged
in on opus (SGI running 8.3.13) and tried the following:

printenv KRBTKFILE
printenv KRB5CCNAME
ls -l /tmp/
mv /tmp/tkt_ttyq0 /tmp/tkt_foo
setenv KRBTKFILE /tmp/tkt_foo
mv /tmp/krb5cc_ttyq0 /tmp/krb5cc_foo  
setenv KRB5CCNAME /tmp/krb5cc_foo
ls -l /tmp
printenv KRBTKFILE
printenv KRB5CCNAME

These commands simply move the ticket files and check that they were
moved correctly.  They appear to have the desired effect.  (The output
is below.)

About 3-4 minutes later, however, a DASH message box appears with the
following:
	DASH
	No such file or directory: `/tmp/tkt_ttyq0'
	Type `renew' to re-authenticate.
	OK

Doing the following after this message appears shows everything to be
the same as before:
ls -l /tmp
printenv KRBTKFILE
printenv KRB5CCNAME

Also, klist lists the tickets.

When I do this automatically with my customizations, the tickets
disappear and I have to 'renew' to continue my session.  (I suspect
something is still wrong with my dotfiles, but that more is going on.)

This does not happen with version 8.2.19.

+ Richard


athena% printenv KRBTKFILE
/tmp/tkt_ttyq0
athena% printenv KRB5CCNAME
/tmp/krb5cc_ttyq0
athena% ls -l /tmp/
total 32
-rw-------    1 rjbarbal mit          466 Jul 20 18:05 krb5cc_ttyq0
-rw-------    1 rjbarbal mit            6 Jul 20 18:05 session_gate_pid.475
-rw-------    1 rjbarbal mit          805 Jul 20 18:05 tkt_ttyq0
-rw-------    1 rjbarbal mit            6 Jul 20 18:05 
wg.a00LtN athena% mv /tmp/tkt_ttyq0 /tmp/tkt_foo
athena% setenv KRBTKFILE /tmp/tkt_foo
athena% mv /tmp/krb5cc_ttyq0 /tmp/krb5cc_foo
athena% setenv KRB5CCNAME /tmp/krb5cc_foo
athena% ls -l /tmp
total 32
-rw-------    1 rjbarbal mit          466 Jul 20 18:05 krb5cc_foo
-rw-------    1 rjbarbal mit            6 Jul 20 18:05 session_gate_pid.475
-rw-------    1 rjbarbal mit          805 Jul 20 18:05 tkt_foo
-rw-------    1 rjbarbal mit            6 Jul 20 18:05 wg.a00LtN 

home help back first fref pref prev next nref lref last post