Kerberos Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=3283
Answer
Troubleshoot Kerberos with klist to view tickets, the System and Security logs (events 4768, 4769, 4771), clock skew checks, setspn -Q for missing or duplicate SPNs, DNS name usage instead of IPs, and encryption type support.
Remember
- Most Kerberos failures are time, DNS name or SPN problems.
- Unsupported encryption types also fail.
- Security events give the exact failure code.
First checks
klist— Kerberos tickets in the sessionklist purge— clear ticketssetspn -Q <spn>— find which account has an SPNnltest /dsgetdc:<domain> /kdc— find a KDCGet-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771}— KDC events on DCs
Commands
klist purge- Deletes all cached Kerberos tickets for the current logon session.
Verify in this order
client → KDC → ticket → service; failure point identified
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3283