[3824] in Kerberos
Re: TKT_ROOT vs tmpfs
daemon@ATHENA.MIT.EDU (Derrick J. Brashear)
Sun Sep 11 11:05:07 1994
To: kerberos@MIT.EDU
Date: Sun, 11 Sep 1994 10:28:54 -0400
From: "Derrick J. Brashear" <db74+@andrew.cmu.edu>
Excerpts from netnews.comp.protocols.kerberos: 11-Sep-94 TKT_ROOT vs
tmpfs by Scott Schwartz@roke.cse.
> 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?
I think krb5_cc_default_name() is the only place that really gets used,
as I patched this once before. I use a directory called /ticket, which
is chmod 1733'd.
-D