From: Ken Raeburn Date: Wed, 28 Nov 2001 23:51:11 +0000 (+0000) Subject: * klist.c (flags_string): Display transit-policy-checked, ok-as-delegate, and anonymo... X-Git-Tag: krb5-1.3-alpha1~932 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ccf29c7c44775028f2383416c8f1fefd12491dfe;p=krb5.git * klist.c (flags_string): Display transit-policy-checked, ok-as-delegate, and anonymous ticket flags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14029 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/klist/ChangeLog b/src/clients/klist/ChangeLog index febc9cb88..f262c2a3a 100644 --- a/src/clients/klist/ChangeLog +++ b/src/clients/klist/ChangeLog @@ -1,3 +1,8 @@ +2001-11-28 Ken Raeburn + + * klist.c (flags_string): Display transit-policy-checked, + ok-as-delegate, and anonymous ticket flags. + 2001-10-09 Ken Raeburn * klist.c: Make prototypes unconditional. diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 4e3c4a593..da12170cb 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -521,6 +521,12 @@ flags_string(cred) buf[i++] = 'H'; if (cred->ticket_flags & TKT_FLG_PRE_AUTH) buf[i++] = 'A'; + if (cred->ticket_flags & TKT_FLG_TRANSIT_POLICY_CHECKED) + buf[i++] = 'T'; + if (cred->ticket_flags & TKT_FLG_OK_AS_DELEGATE) + buf[i++] = 'O'; /* D/d are taken. Use short strings? */ + if (cred->ticket_flags & TKT_FLG_ANONYMOUS) + buf[i++] = 'a'; buf[i] = '\0'; return(buf); }