How to check if the TGT is expired

John Hascall john at
Mon May 14 10:10:59 EDT 2007

> Is there any kerberos API, using which i can validate the existing TGT. And
> the TGT is expired, initialize the "kinit" to get the new TGT.

   Call krb5_get_credentials with the KRB5_GC_CACHED flag.


More information about the krbdev mailing list