aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-dialog.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-11-01 19:51:11 +0100
committerGuido Günther <agx@sigxcpu.org>2009-11-01 19:51:11 +0100
commit45e3112c89c4be974014fe0b7f7341e05894f294 (patch)
tree190b64d00afc9c6f57cc2f5a45a10a0165d13c03 /src/krb5-auth-dialog.c
parentImported Upstream version 0.13 (diff)
downloadkrb5-auth-dialog-45e3112c89c4be974014fe0b7f7341e05894f294.tar.gz
krb5-auth-dialog-45e3112c89c4be974014fe0b7f7341e05894f294.tar.bz2
krb5-auth-dialog-45e3112c89c4be974014fe0b7f7341e05894f294.zip
Imported Upstream version 0.14
Diffstat (limited to 'src/krb5-auth-dialog.c')
-rw-r--r--src/krb5-auth-dialog.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index b8f95c2..e831db2 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -309,6 +309,8 @@ ka_get_service_tickets (GtkListStore *tickets)
ccache,
&cursor,
&creds)) == 0) {
+ gboolean renewable, proxiable, forwardable;
+
if (creds.times.starttime)
ka_format_time(creds.times.starttime, start_time,
sizeof(start_time));
@@ -325,6 +327,10 @@ ka_get_service_tickets (GtkListStore *tickets)
"%s <span foreground=\"red\" style=\"italic\">(%s)</span>",
end_time, _("Expired"));
+ forwardable = get_cred_forwardable(&creds);
+ renewable = get_cred_renewable(&creds);
+ proxiable = get_cred_proxiable(&creds);
+
ret = krb5_unparse_name (kcontext, creds.server, &name);
if (!ret) {
gtk_list_store_append(tickets, &iter);
@@ -332,6 +338,9 @@ ka_get_service_tickets (GtkListStore *tickets)
PRINCIPAL_COLUMN, name,
START_TIME_COLUMN, start_time,
END_TIME_COLUMN, end_time_markup,
+ FORWARDABLE_COLUMN, forwardable,
+ RENEWABLE_COLUMN, renewable,
+ PROXIABLE_COLUMN, proxiable,
-1);
free(name);
} else
bgstack15