git.samba.org
/
abartlet
/
lorikeet-heimdal.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ccfa0
)
klist: If we aren't being verbose, we don't need the full ticket
author
Asanka Herath
<asanka@secure-endpoints.com>
Fri, 27 Aug 2010 20:28:03 +0000
(16:28 -0400)
committer
Asanka C. Herath
<asanka@secure-endpoints.com>
Tue, 14 Sep 2010 12:04:15 +0000
(08:04 -0400)
kuser/klist.c
patch
|
blob
|
history
diff --git
a/kuser/klist.c
b/kuser/klist.c
index 90693dd10225ae6f6f62908d6f94a1d0b8333576..3e76c4a5a122e6850d9274919bf6ac1f47ec7f9d 100644
(file)
--- a/
kuser/klist.c
+++ b/
kuser/klist.c
@@
-248,9
+248,12
@@
print_tickets (krb5_context context,
}
free (str);
- if(do_verbose)
+ if(do_verbose)
{
printf ("%17s: %d\n", N_("Cache version", ""),
krb5_cc_get_version(context, ccache));
+ } else {
+ krb5_cc_set_flags(context, ccache, KRB5_TC_NOTICKET);
+ }
ret = krb5_cc_get_kdc_offset(context, ccache, &sec);