How to test if TGT has expired by using Kerberos API's?
bbense at SLAC.Stanford.EDU
Sat Jun 7 10:37:50 EDT 2003
On Fri, 6 Jun 2003 Kent_Wu at trendmicro.com wrote:
> I've written a program to get TGT then do the Kerberos
> authentication by using GSS-API afterwards but I also want to
> do it in a smarter way. What I tried to achieve is I want to
> check if it expires or not, if so then I issue a real TGT
> request otherwise I can save a trip. Or if there is an API
> which already checks this internally that would be even
> greater. By searching some materials I found some possible
> API's but I don't really know due to the limited documentation.
> Can somebody enlighten me a little bit on this?
- Look at happy_ticket in k5start.c. You can find it at
_ Booker C. Bense
More information about the Kerberos