[1001] in Athena Bugs

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

(VS2) Version 6.0R: kinit

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Sep 20 17:22:22 1988

Date: Tue, 20 Sep 88 17:21:43 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version:	(VS2) Version 6.0R
System name:		lycus
What's wrong:
kinit refuses to create tickets if $KRBTKFILE specifies a symlink
pointing to a ticket file (which does or does not exist).

example:
[lycus:/mit/jtkohl]% echo $KRBTKFILE
/tmp/tkt5509
[lycus:/mit/jtkohl]% ls -l /tmp/tkt5509
lrwxrwxrwx  1 jtkohl         14 Sep 20 08:53 /tmp/tkt5509 -> /tmp/tkt_ttyv0
[lycus:/mit/jtkohl]% ls -l /tmp/tkt_ttyv0
-rwx------  1 jtkohl        350 Sep 20 17:15 /tmp/tkt_ttyv0
[lycus:/mit/jtkohl]% kinit jtkohl
MIT Project Athena (lycus)
Kerberos Initialization for "jtkohl"
Password: 
Error initializing /tmp/tkt5509kinit: Generic error (get_intkt)
Exit 1               kinit jtkohl
[lycus:/mit/jtkohl]% setenv KRBTKFILE /tmp/tkt_ttyv0
[lycus:/mit/jtkohl]% kinit jtkohl
MIT Project Athena (lycus)
Kerberos Initialization for "jtkohl"
Password: 
[lycus:/mit/jtkohl]% klist
Ticket file:    /tmp/tkt_ttyv0
Principal:      jtkohl@ATHENA.MIT.EDU

  Issued           Expires          Principal
Sep 20 17:17:27  Sep 21 01:17:27  krbtgt.ATHENA.MIT.EDU@ATHENA.MIT.EDU
[lycus:/mit/jtkohl]% setenv KRBTKFILE /tmp/tkt5509
[lycus:/mit/jtkohl]% klist
Ticket file:    /tmp/tkt5509
Principal:      jtkohl@ATHENA.MIT.EDU

  Issued           Expires          Principal
Sep 20 17:17:27  Sep 21 01:17:27  krbtgt.ATHENA.MIT.EDU@ATHENA.MIT.EDU
[lycus:/mit/jtkohl]% 

What should have happened:

It shouldn't have complained about the symlinked ticket file.

John

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