Symptom:
An error displays, similar to the following:
ERROR: VAS_ERR_KRB5: Failed to obtain credentials. Client: vas-user@ALTSUFFIX.VAS, Service: krbtgt/ALTSUFFIX.VAS@ALTSUFFIX.VAS, Server: (null) Caused by: KRB5_KDC_UNREACH (-1765328228): Cannot contact any KDC for requested realm Reason: unable to reach any KDC in realm ALTSUFFIX.VAS
Diagnosis:
You will get an error message that says, "Cannot contact any KDC for requested realm" because Safeguard Authentication Services cannot obtain a Kerberos ticket for the user principal name encoded on the smart card.
This will occur when Safeguard Authentication Services is unable to communicate with a domain controller. Run the vastool info servers command and try to ping your domain controllers to ensure that your network is properly configured and Safeguard Authentication Services has found a domain controller to use for communication with Active Directory.
If the problem persists, you may have a problem with your user principal name suffix. This occurs when the suffix of the user principal name on your smart card does not match the name of the Kerberos realm for your Active Directory domain. In other words, your Active Directory domain is COMPANY.COM, but the user principal on your smart card is vas-user@ALTSUFFIX.VAS. This means you are using an alternative user principal name suffix.
Solution:
Configure vas.conf to use user principal name as the logon attribute. This can be done by any of the following methods:
- Safeguard Authentication Services Configuration Group Policy Setting:
- Open QAS Configuration in the Group Policy editor.
- Type username-attr-name in the search field and click the Search button.
- Set the value to userPrincipalName.
- Click OK to close the dialog.
- Apply Group Policy on the Safeguard Authentication Services client by running the vgptool apply command.
- Manually edit the vas.conf.
- Open the vas.conf file on the Safeguard Authentication Services client.
- In the [vasd] section, set "username-attr-name = userPrincipalName".
- Save the vas.conf file.
- Run the vastool flush command to repopulate user information.
- Edit the vas.conf with vastool.
-
Run the following command:
vastool configure vas vasd username-attr-name userPrincipalName
- Run the vastool flush command to repopulate user information.
-