Share via


klit does not show tickets while kerbtray does

Question

Monday, May 25, 2020 4:11 PM

why does klist not show any tickets, it returns "Credentials cache C:\Users\username\krb5cc_username not found." -  while kerbtray does list tickets on the very same machine. Any idea what is wrong with klist on this pc?

It's a windows 2016 domain level and a windows 10 1909 client pc.

All replies (4)

Tuesday, May 26, 2020 7:46 AM âś…Answered

Hello Dieter,

There can be more than one Kerberos implementation on a system. Windows provides a Kerberos implementation and one could install another (e.g. an MIT implementation) - this applies both to the core functionality and the utilities (like klist.exe).

My guess is that when you issue the "klist" command, you are not running the original "klist.exe" from Windows but rather some other klist.exe, designed for use with its own Kerberos implementation.

Check that %SystemRoot%\System32\klist.exe is plausibly the Windows original file and then run it, using its full path.

>dir %SystemRoot%\System32\klist.exe

19/03/2019  06:45            37,376 klist.exe

Gary

 


Tuesday, May 26, 2020 5:23 AM

Hello,
Thank you for posting in our TechNet forum.

1.Where do we receive the message"Credentials cache C:\Users\username\krb5cc_username not found."? On Windows server 2016 DC or Windows 10 1909 domain client?

2.If we logon the machine with another credential, can we receive the same message after running **klist?
**
Best Regards,
Daisy Zhou

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, May 26, 2020 8:26 AM

Perfect Gary, I should have thought about this too. thanks.

I was using some klist.exe from AdoptOpenJDK which is in my path on first place....

C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin


Tuesday, May 26, 2020 9:25 AM

Hi Dieter,
Thank you for your update and sharing. I am so glad that we found the answer to the question.

As always, if there is any question in future, we warmly welcome you to post in this forum again.

Best Regards,
Daisy Zhou

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].