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.
winsessfail1
 
A general system error has occurred: Cannot get user info
winsessfail2
 
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
 

Posted by:

Chris Morrow

5 Comments

    • Sean Whitney -  August 15, 2015 - 7:59 am 227

      Hi Kenneth,

      Thanks for the information!

      Sean

      Reply
  1. Dinesh -  September 2, 2015 - 10:08 am 242

    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?

    Reply
  2. P. Cruiser -  January 12, 2016 - 1:47 pm 368

    Thx for this. Subscribing for future comments.

    Reply

Leave A Comment

Your email address will not be published. Required fields are marked (required):

Back to Top