[2475] in Kerberos
Re: V5 equivalent of KRBTKFILE
daemon@ATHENA.MIT.EDU (Steve Dyer)
Wed Dec 16 11:44:56 1992
Date: 16 Dec 92 16:00:59 GMT
From: dyer@spdcc.com (Steve Dyer)
To: kerberos@shelby.Stanford.EDU
In article <1gndmfINN6d3@senator-bedfellow.MIT.EDU> jik@athena.mit.edu (Jonathan I. Kamens) writes:
>In the MIT V5 distribution, is there an application-transparent way to tell the
>Kerberos libraries to use a different ticket cache, i.e., something equivalent
>to what KRBTKFILE does in V4?
/*
* This file contains the source code for krb5_fcc_default_name.
*
* Effects:
*
* Forms the default credential cache name for the current user, which
* is defined in the following way. If it is set, the environment
* variable "KRB5CCACHE" will be used (up to the maximum number of
* characters of a legal operating system defined path). Otherwise
* TKT_ROOT (from fcc.h) and the user's uid are concatenated to
* produce the ticket file name (e.g., "/tmp/tkt123"). The pointer
* returned is to static storage; the name must be copied elsewhere.
*/
char *
krb5_fcc_default_name ()
{ ... }
--
Steve Dyer
dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer