Error message during join "KRB5KDC_ERR_TGT_REVOKED (-1765328364): TGT has been revoked"
The following error message is shown during a domain join attempt:
ERROR: Could not join to the domain
VAS_ERR_KRB5: Kerberos error
Could not set password
KRB5KDC_ERR_TGT_REVOKED (-1765328364): TGT has been revoked
Note that both of the above messages in bold should appear if you are experiencing this specific issue.
The introduction of the patch for CVE-2021-42287 and the manual change of the registry setting of PacRequestorEnforcement to 2 causes password changes to fail when conducted by another user.
During the join, the account used to perform the join resets the password to the computer object to something secret and stores it in the keytab. This is the step that fails.
The 'vastool passwd' command, when used to reset a different account password would also fail under similar conditions.
Incompatibility with MS Patch for CVE-2021-42287 and the setting of the registry value for PacRequestorEnforcement to 2.
At this time the registry value is a manual change.
This has been resolved in Safeguard Authentication Services 5.0.5 available here.
This version requires a new license. Details are available here.
This has been resolved in Safeguard Authentication Services 4.2.5 available here.
This version is in limited support. Product Life Cycle.
Check if the following Microsoft patch has been installed:
The registry key on the Domain Controllers is:
If the PacRequestorEnforcement has a value of 2 (Enforcement mode) then this can cause the join to fail with the TGT revoked error message.
This issue is fixed in version 5.0.5. The current ETA for this release is February 2022.
Set the PacRequestorEnforcement registry option to either 0 or 1.
Note that this change would only need to be temporary in order to complete the join. After the join is complete it can be set back.