[10653] in Athena Bugs

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

decmips 7.4H: kdestroy: dest_tkt() always succeeds on non-regular files

daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Jul 7 15:11:06 1993

Date: Wed, 7 Jul 93 15:10:55 -0400
From: Calvin Clark <ckclark@MIT.EDU>
To: bugs@Athena.MIT.EDU
Cc: bug-kerberos@Athena.MIT.EDU

-------
System name:		podge
Type and version:	KN02ca 7.4H (1 update(s) to same version)
Display type:		PMAG-DV 

What were you trying to do?

	Wipe a file out with kdestroy.

What's wrong:
	
	The file was a directory, but kdestroy did nothing, printed no
	errors, and exited with status 0.

	This is because dest_tkt() in
	/source/athena/athena.lib/kerberos/lib/krb/dest_tkt.c will
	always return KSUCCESS if the ticket file is not a
	regular file.

What should have happened:

	I am not going to submit a fix for this, because lots
	of programs (not just kdestroy) call dest_tkt(), and
	some of them may expect this broken behavior.  However,
	these should be tracked down and fixed.

Please describe any relevant documentation references:

	kdestroy(1)

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