From ccf29c7c44775028f2383416c8f1fefd12491dfe Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 28 Nov 2001 23:51:11 +0000 Subject: [PATCH] * 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 --- src/clients/klist/ChangeLog | 5 +++++ src/clients/klist/klist.c | 6 ++++++ 2 files changed, 11 insertions(+) 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); } -- 2.26.2