Pcornel
Identity · Kerberos

Time Synchronization

Cheat sheet · https://pcornel.dk/topic.php?topic=3282

Back to the Topic

Answer

Kerberos requires client and DC clocks to be within 5 minutes by default, because tickets carry timestamps to block replay. Clock skew causes KRB_AP_ERR_SKEW errors and failed logons.

Remember

  • Default allowed clock skew is 5 minutes.
  • Domain time follows the DC hierarchy.
  • VMs can drift or be overridden by host time.

First checks

  • klist — Kerberos tickets in the session
  • klist purge — clear tickets
  • setspn -Q <spn> — find which account has an SPN
  • nltest /dsgetdc:<domain> /kdc — find a KDC
  • Get-WinEvent -FilterHashtable @{LogName='Security';Id=4768,4769,4771} — KDC events on DCs

Verify in this order

clocks within 5 minutes → tickets valid

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=3282

Confirmation

Confirm action

Continue?