[3823] in Kerberos

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

TKT_ROOT vs tmpfs

daemon@ATHENA.MIT.EDU (Scott Schwartz)
Sun Sep 11 00:44:27 1994

To: kerberos@MIT.EDU
Date: 11 Sep 1994 03:32:32 GMT
From: schwartz@roke.cse.psu.edu (Scott Schwartz)

In order to work around a bug in SunOS 4.1.x tmpfs (flock doesn't work),
I want to change the directory where kerberos stores ticket caches.
Unfortunately, the string "/tmp" is hardcoded all over the place,
TKT_ROOT is only used in a few places. It would be much nicer to
abstract this out.  Why have separate code for krb5_cc_default_name(),
krb5_fcc_default_name(), krb5_scc_default_name(), and if you have those,
why hardcode /tmp?

Before I go doing a globin search and replace to change /tmp to
/var/tmp, are there any clean fixes in the works?  Or should I just
start hacking and post the diffs?

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