[3983] in Kerberos

home help back first fref pref prev next nref lref last post

Re: help: in_tkt() and save_credentials?

daemon@ATHENA.MIT.EDU (Shawn Mamros)
Tue Oct 4 09:38:13 1994

To: kerberos@MIT.EDU
Date: Tue, 04 Oct 1994 08:57:33
From: mamros@ftp.com (Shawn Mamros)
Reply-To: mamros@ftp.com

tandiary@iastate.edu (Fredy Tandiary) writes:
>I need some information on these two functions: in_tkt() and
>save_credentials(). What are these two functions for and how
>do they used? 

in_tkt() and save_credentials() are two "internal" functions in the
MIT V4 library.  The first initializes a V4 ticket file and writes
its "header"; the second stores the credentials (ticket + session key +
other info) obtained from the KDC into a ticket file.

Unless you're doing something really "weird", there's no reason why
an application should ever call these functions directly.  The functions
which obtain tickets from the KDC one way or another (krb_get_pw_in_tkt(),
krb_get_svc_in_tkt(), krb_mk_req()) all take care of initializing the
ticket file and storing credentials for you.

-Shawn Mamros
E-mail to: mamros@ftp.com


home help back first fref pref prev next nref lref last post