getting a service ticket

Alexandra Ellwood lxs at MIT.EDU
Thu Nov 13 18:08:39 EST 2003


>Hi,
>
>I'm looking for hints on how to get a service ticket( tgt may not 
>exist ) and place it in a new CCache.

Look at the sources for kvno (src/clients/kvno/kvno.c in the 
krb5-1.3.1 sources) for sample code which gets a service ticket 
manually from a TGT.   Note that if you are on Mac OS X and trying to 
store a v4 service ticket you will need to call into the CCAPI rather 
than the tf_*() APIs.

Note that service tickets are usually automatically acquired when you 
try to connect to a service.  Is there some reason you need to get a 
service ticket manually (that isn't already covered by some other 
utility such as kvno or aklog)?


Hope this helps,

--lxs
-- 
-----------------------------------------------------------------------------
Alexandra Ellwood                                               <lxs at mit.edu>
MIT Information Systems                               http://mit.edu/lxs/www/
-----------------------------------------------------------------------------
--


More information about the krbdev mailing list