Query how to klist tickets stored in Memory cache

Santosh Kumar santoshjeergi at gmail.com
Sun Aug 12 06:30:59 EDT 2018


All,

Could you please help how can i list tickets stored in memory:


Have  set default cache :
error = krb5_cc_set_default_name(context, "*MEMORY:kcduser_28535_1533898755*
");

i.e  ./kinit -V -k -t /tmp/test1.keytab  -f 'host/
PXE-DEV.PULSEBLR.COM at PULSEBLR.COM' -c MEMORY:kcduser_285351_153385

How to list tickets in memory ?

klist -c MEMORY:kcduser_285351_153385
klist: No credentials cache found while retrieving principal name

In case of default FILE cache it lists fine,
./klist/klist -c /tmp/krb5cc_36073
Ticket cache: FILE:/tmp/krb5cc_36073


Appreciate your help.

Thanks
Santosh


More information about the Kerberos mailing list