home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / protocol / kerberos / 968 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.4 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!ogicse!das-news.harvard.edu!spdcc!dyer
  2. From: dyer@spdcc.com (Steve Dyer)
  3. Newsgroups: comp.protocols.kerberos
  4. Subject: Re: V5 equivalent of KRBTKFILE
  5. Message-ID: <1992Dec16.160059.1332@spdcc.com>
  6. Date: 16 Dec 92 16:00:59 GMT
  7. Article-I.D.: spdcc.1992Dec16.160059.1332
  8. References: <1gndmfINN6d3@senator-bedfellow.MIT.EDU>
  9. Organization: S.P. Dyer Computer Consulting, Cambridge MA
  10. Lines: 26
  11.  
  12. In article <1gndmfINN6d3@senator-bedfellow.MIT.EDU> jik@athena.mit.edu (Jonathan I. Kamens) writes:
  13. >In the MIT V5 distribution, is there an application-transparent way to tell the
  14. >Kerberos libraries to use a different ticket cache, i.e., something equivalent
  15. >to what KRBTKFILE does in V4?
  16.  
  17. /*
  18.  * This file contains the source code for krb5_fcc_default_name.
  19.  * 
  20.  * Effects:
  21.  * 
  22.  * Forms the default credential cache name for the current user, which
  23.  * is defined in the following way.  If it is set, the environment
  24.  * variable "KRB5CCACHE" will be used (up to the maximum number of
  25.  * characters of a legal operating system defined path).  Otherwise
  26.  * TKT_ROOT (from fcc.h) and the user's uid are concatenated to
  27.  * produce the ticket file name (e.g., "/tmp/tkt123").  The pointer
  28.  * returned is to static storage; the name must be copied elsewhere.
  29.  */
  30.  
  31. char *
  32. krb5_fcc_default_name ()
  33. { ... }
  34.  
  35. -- 
  36. Steve Dyer
  37. dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
  38.