getting tokens for a remote cell

Love lha at stacken.kth.se
Thu Mar 16 05:25:02 CET 2000


Willi Langenberger <wlang at wu-wien.ac.at> writes:

> If KRBTKFILE has no value, it works as expected:
> 
>   monk:~$ echo $KRBTKFILE
> 
>   monk:~$ klog wlang
>   wlang at wu-wien.ac.at's Password: ******
> 
> -> ok
> 
> But setting KRBTKFILE to a filename that doesn't exist, gives the
> above error:
> 
>   monk:~$ KRBTKFILE=/tmp/tkt_urxn klog wlang
>   wlang at wu-wien.ac.at's Password: ******
>   klog: Unable to get an AFS token: Principal expired (kerberos)

Now I can't make this happen for myself, not can I test for it since there
is packet filter is the way for me.

> The reason, why KRBTKFILE had a wrong value, was a call to "pagsh"
> (from krb-1.0). This sets this environment variable, but deletes the
> ticket file:

You want it to be set to something that doesn't exist, that it the whole
point of pagsh. If you do exit you will still have you old ticketfile.

Note that klog doesn't save the ticket file. If you want to keep it when
using klog you should use ``klog -tmp''.

Love





More information about the Arla-drinkers mailing list