krb_set_tkt_string(3krb)krb_set_tkt_string(3krb)Name
krb_set_tkt_string, krb_set_srvtab_string - Environmental setup of the
Kerberos libraries
Syntax
#include <krb.h>
void krb_set_tkt_string (filename)
char *filename
void krb_set_srvtab_string (filename)
char *filename
Arguments
filename
The filename of the Kerberos ticket cache file or the name of
the service table file.
Description
The routine sets the default name of the file that holds a cache of
service tickets and associated session keys belonging to a Kerberos
principal. The routine accepts a filename for the cache and copies
this name into the local storage of The default before any calls to is
is the user ID of the process that calls
You should call krb_set_tkt_string during Kerberos initialization to
assure that any routines called later receive the proper name if they
require the filename of the cache.
The routine sets the default name of the file that stores the keys of
the Kerberos applications running on the local host. The routine
accepts a filename for the service table file and copies this name into
the local storage of
You should call krb_set_srvtab_string during the Kerberos initializa‐
tion of a service to assure that any subsequently called routines that
require the filename of the service table receive the proper name. The
default, before any calls to the string, is
Files
See Also
kerberos(3krb), krb_sendauth(3krb), krb_sendmutual(3krb)krb_set_tkt_string(3krb)