use krb5_cc_get_type

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5977 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-04-18 13:48:46 +00:00
parent f1a6ab665e
commit f3482e15f3

View File

@@ -191,7 +191,9 @@ print_tickets (krb5_context context,
if (ret)
krb5_err (context, 1, ret, "krb5_unparse_name");
printf ("Credentials cache: %s\n", krb5_cc_get_name(context, ccache));
printf ("Credentials cache: %s:%s\n",
krb5_cc_get_type(context, ccache),
krb5_cc_get_name(context, ccache));
printf ("\tPrincipal: %s\n\n", str);
free (str);