Package: krb5-auth-dialog
Version: 3.12.0-2
Severity: wishlist

When krb5-auth-dialog is installed, it drops a .desktop file into
/etc/xdg/autostart/ so that it starts up as part of the normal desktop
session, without requiring further intervention. I am assembling a
system that will mainly handle users authenticated via Kerberos, so
this is great.

However, there will also be some local-only users (via normal Unix
auth), and for them, the "Network credentials expired" notification
will be confusing and unhelpful. I'd like for the program not to
autostart for them.

(If a local-only user somehow wants to authenticate to some Kerberos
principal graphically, they can always start up the program via the
application menu, of course.)

This minor change to the .desktop file gets me the desired effect...

        --- /etc/xdg/autostart/krb5-auth-dialog.desktop.orig
        +++ /etc/xdg/autostart/krb5-auth-dialog.desktop
        @@ -1,7 +1,7 @@
         [Desktop Entry]
         Name=Kerberos Authentication
         Comment=Kerberos Network Authentication Dialog
        -Exec=krb5-auth-dialog
        +Exec=sh -c 'test -z "$KRB5CCNAME" || exec krb5-auth-dialog'
         Terminal=false
         Type=Application
         Icon=krb-valid-ticket

...but there may be a better way of doing it. I'd like to request
this behavior.

Reply via email to