After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 538167 - Should assist other applications to acquire kerberos tickets
Should assist other applications to acquire kerberos tickets
Status: RESOLVED FIXED
Product: krb5-auth-dialog
Classification: Other
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Christopher Aillon
Christopher Aillon
Depends on:
Blocks:
 
 
Reported: 2008-06-13 16:27 UTC by Guido Günther
Modified: 2009-03-01 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guido Günther 2008-06-13 16:27:28 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:
Comment 1 Guido Günther 2009-03-01 13:49:10 UTC
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'