This post is also available in: Italian
Reading Time: 2 minutesOne possible issue during an upgrade to VMware vSphere 5.1 or 5.5 (but also in a new installation) is related with the introduction of the the SSO (introduced in vSphere 5.1) component in vCenter Server that handle the authentication across the different vCenter Server components, but also against the users.
In some cases you may have the following issues during the user autentication:
- You can log into vCenter Server 5.1 or 5.5 with the vSphere Client or vSphere Web Client only with local users
- Logging into vCenter Server 5.1 or 5.5 using the vSphere Client with an Active Directory domain account and/or selecting the Use Windows session credentials checkbox, fails with this error:Cannot complete login due to an incorrect username or password
The KB 2035510 (Logging into vCenter Server 5.1 or 5.5 using the “Use Windows session credentials” option fails with the error: Cannot complete login due to an incorrect username or password) explain the cause and the resolution process.
Cause
Resolution
- Log into the vSphere Web Client using the [email protected] (for 5.1) or a[email protected] credentials (for 5.5).
- Click Administration.
- Under Sign-On and Discovery, click Configuration.
- Click the Active Directory identity source.
- Under Actions, click Edit Identity Source.
- Make note of the information in the identity source.
- Click Cancel.
- Under Actions, click Delete Identity Source.
- Recreate the identity source using the short NETBIOS name in the Domain Alias field.
- Click Test Connection.
- Click OK.
If this solution does not work, be sure that DNS resolution works fine, both for the direct (record A) and the reverse (record PTR) resolution. For more information see also this post: vSphere client 5.5 “Use Windows session credentials” error: Cannot complete login due to an incorrect username or password.