views:

25

answers:

0

I'm wondering if anyone has an elegant solution to checking for a valid kerberos ticket using python. I'm not seeing anyway with kinit or klist that will show if a ticket is expired with a return code.

I could run klist and use a regex for the output but... Thanks much!