Active Directory Error Types: Kerberos Client Credentials Revoked
Luke Hebert
- 2 minutes read - 294 wordsKerberos authentication failures in Active Directory tend to follow a predictable pattern, and the error code tells you exactly where to look. This reference walks through the three codes you will most often encounter (5be, 775, and 18), how AD tracks lockout state, and the steps to confirm whether the problem is a locked account or a stale keytab.
How AD Tracks Account Lockout
A principal entry in Active Directory keeps three pieces of state related to account lockout:
- The time of last successful authentication
- The time of last failed authentication
- A counter of failed attempts
The last-successful-authentication timestamp is not strictly required for the lockout mechanism to function, but it is useful for administrative auditing. The lockout policy (threshold, duration, and observation window) is defined at the domain or fine-grained policy level.
Error Codes to Watch For
| Code | Meaning |
|---|---|
5be | Wrong password (bad password attempt) |
775 | Account is locked |
18 | Client credentials have been revoked |
If you see 5be events piling up in the Security log (Event ID 4740), the account will hit the lockout threshold and subsequent attempts will return 775. A revoked keytab or a principal whose key has been reset on the KDC will surface as error 18.
Quick Troubleshooting Steps
- Check the AD Security log for Event IDs 4740 (account locked) and 4741 (account unlocked) around the time of the failure.
- Confirm the keytab file on the client matches the current key version in AD (
klist -kt /path/to/keytab). - If the keytab is stale, regenerate it with
ktpassor the AD “Kerberos” tab and redeploy. - Verify the SPN is registered to the correct account and that no duplicate SPNs exist.
- After unlocking the account, test with
kinitbefore restarting the service.