GNOME Bugzilla – Bug 538167
Should assist other applications to acquire kerberos tickets
Last modified: 2009-03-01 13:49:10 UTC
Please describe the problem: Currently evolution and thunderbird fail if the user doesn't have a valid TGT. Instead of implementing support for acquiring these krb5-auth-dialog could help via a defined dbus interface. I have a rough implementation on the dbus branch at: git clone http://honk.sigxcpu.org/git/krb5-auth-dialog.git/ It currently doesn't allow to acquire other TGTs as the "default" one known to krbt-auth-dialog but that can certainly be fixed (it's all I need at the moment). Using the dbus glib bindings asking krb5-auth-dialog to obtain a ticket is as easy as: proxy = dbus_g_proxy_new_for_name_owner (connection, "org.gnome.KrbAuthDialog", "/org/gnome/KrbAuthProvider", "org.gnome.KrbAuthProvider", &error); org_gnome_KrbAuthProvider_acquire_tgt(proxy, principal, &success, &error); The small helper application in helper/ implements this. Steps to reproduce: . Actual results: Expected results: Does this happen every time? Other information:
I've commit this as: dbus-send --print-reply --type=method_call \ --dest=org.gnome.KrbAuthDialog \ /org/gnome/KrbAuthDialog \ org.gnome.KrbAuthDialog.acquireTgt \ string:'principal'