Hi,
this two patches add the support to display a warning to the user that
the Kerberos password is about to expire. The first patch just moves
some utility functions to a separate file to avoid linking the
krb5_child against libdbus.
I the second patch a prompter function is introduced to catch the
warning message which is generated by libkrb5. With the current API of
MIT Kerberos we have to rely on this message, because the the underlying
AS_REPLY data is not exposed by the library. As a consequece this message
cannot be translated, but this is true for messages which are generated
to indicate why a password change failed, too. The rest of the patch
changes the way the response from the child is packed and unpacked to
allow more than one response message.
bye,
Sumit