Time of new TGT from krb5_get_init_creds_password

Frank Cusack fcusack at fcusack.com
Wed Apr 11 14:25:03 EDT 2007

On April 4, 2007 7:54:04 PM -0400 Danilo Almeida <dalmeida at centeris.com> 
> Colin,
> <quote from="Jeffrey">
> If you really feel you must interrupt the user by popping up a dialog
> when  they haven't asked for it, you can work around the problem you
> described by  waiting until the terminal is non-idle before doing so.
> How to accomplish  this is left as an exercise for the reader.
> </quote>
> You can also try something like this:
> 1) In your prompter, hold on to the password.
> 2) After you get back from krb5_get_init_creds_password(), check that
>    the TGT is good.  If not, call back into krb5_get_init_creds_password()
>    but have your prompter just provide the password saved in the first
>    prompting.
> 3) Discard any saved password.

It would be nice if the library did this for you.

More information about the krbdev mailing list