|
|
1.1 root 1: .\" $Source: /usr/src/kerberosIV/man/RCS/krb_set_tkt_string.3,v $
2: .\" $Author: kfall $
3: .\" $Header: /usr/src/kerberosIV/man/RCS/krb_set_tkt_string.3,v 4.2 90/06/25 21:12:29 kfall Exp $
4: .\" Copyright 1989 by the Massachusetts Institute of Technology.
5: .\"
6: .\" For copying and distribution information,
7: .\" please see the file <mit-copyright.h>.
8: .\"
9: .TH KRB_SET_TKT_STRING 3 "Kerberos Version 4.0" "MIT Project Athena"
10: .SH NAME
11: krb_set_tkt_string \- set Kerberos ticket cache file name
12: .SH SYNOPSIS
13: .nf
14: .nj
15: .ft B
16: #include <kerberosIV/krb.h>
17: .PP
18: .ft B
19: void krb_set_tkt_string(filename)
20: char *filename;
21: .fi
22: .ft R
23: .SH DESCRIPTION
24: .I krb_set_tkt_string
25: sets the name of the file that holds the user's
26: cache of Kerberos server tickets and associated session keys.
27: .PP
28: The string
29: .I filename
30: passed in is copied into local storage.
31: Only MAXPATHLEN-1 (see <sys/param.h>) characters of the filename are
32: copied in for use as the cache file name.
33: .PP
34: This routine should be called during initialization, before other
35: Kerberos routines are called; otherwise the routines which fetch the
36: ticket cache file name may be called and return an undesired ticket file
37: name until this routine is called.
38: .SH FILES
39: .TP 20n
40: /tmp/tkt[uid]
41: default ticket file name, unless the environment variable KRBTKFILE is set.
42: [uid] denotes the user's uid, in decimal.
43: .SH SEE ALSO
44: kerberos(3), setenv(3)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.