Unable to login to an External vCenter Appliance 6.0 with windows session credentials
Anyone who is using the non-embedded version of the PSC appliance might notice that using Windows Session Credentials does not work when logging into vCenter with the C# client. The problem here is that even if the PSC is joined to the domain, the appliance VM housing the Web Client and vCenter is not. See here if you still need to join the PSC to a domain.
Note: If you encounter this with an embedded PSC, try this VMware KB article
You will see error messages such as:
Windows Session credentials cannot be used to log into this server.
A general system error has occurred: Cannot get user info
To fix this, the vCenter Server Appliance also needs to be joined to the domain.
Step 1. Access the CLI of the vCenter Server Appliance with SSH.
shell.set --enabled True
shell
Step 2. Join the external standalone vCenter Appliance to AD with domainjoin-cli
/opt/likewise/bin/domainjoin-cli join domain user
Example
/opt/likewise/bin/domainjoin-cli join vlimitless.local Administrator
Step 3. Reboot the Standalone vCenter Appliance to apply the changes
5 Comments
We had a similar problem in the Web Client (User name and password are required) that turned out to be the HTTP header size.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2112731
A list of several PSC 6.0 web client issues:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2121717
Hi Kenneth,
Thanks for the information!
Sean
This didn’t work for me. I am able to use the windows session credentials in the web client but not in the C# client. I think this is also preventing me from running vcheck as a scheduled task. Any ideas?
Hi Dinesh,
There are actually several possibilities, I would start by checking the vmware-sys-idmd.log. You can find the log locations here:
http://www.virtually-limitless.com/vsphere-6-0/vcenter-server-6-0-log-locations/
Thanks,
Sean
Thx for this. Subscribing for future comments.