Time of new TGT from krb5_get_init_creds_password

Danilo Almeida dalmeida at centeris.com
Wed Apr 4 19:54:04 EDT 2007


<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.

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
3) Discard any saved password.

- Danilo

More information about the krbdev mailing list