Search the VMware Knowledge Base (KB)
Products:
View by Article ID

Logging in to the vCenter Server Appliance as vSphere Client users using the Use Windows session credentials option fails with the error: Cannot get user info (2050701)

  • 56 Ratings

Symptoms

  • Cannot log in to the vCenter Server Appliance (VCSA) as vSphere Client users by using the Use Windows session credentials option
  • Logging in to vCenter Server Appliance (VCSA) using the Use Windows session credentials option fails
  • You see the error:
A General System error occured: Cannot get user info
  • In the vpxd logs on vCenter Server Appliance (VCSA), you see entries similar to:


    <YYYY-MM-DD>T<TIME>+02:00 [7F1C10CCC700 error 'GSSAPI' opID=CEAEA705-00000004-2d] Cannot get user info for XXXX\YYYY. Possible NSS configuration problem.
    <YYYY-MM-DD>T<TIME>+02:00 [7F1C10CCC700 info 'commonvpxLro' opID=CEAEA705-00000004-2d] [VpxLRO] -- FINISH task-internal-9727699 -- -- vim.SessionManager.loginBySSPI
    <YYYY-MM-DD>T<TIME>+02:00 [7F1C10CCC700 info 'Default' opID=CEAEA705-00000004-2d] [VpxLRO] -- ERROR task-internal-9727699 vim.SessionManager.loginBySSPI: vmodl.fault.SystemError:
    Result:
    (vmodl.fault.SystemError) {
    dynamicType = <unset>,
    faultCause = (vmodl.MethodFault) null,
    reason = "Cannot get user info",
    msg = "",
    }
    Args:

Resolution

This is a known issue affecting vCenter Server Appliance 5.1, 5.5, and 6.0.
 
To work around this issue, manually enter user credentials instead of using the User Windows session credentials option.

To resolve this issue:
  1. Log in to vCenter Server Appliance as the root user.

    For vCenter Server Appliance 6.0:

    1. To enable the Bash shell, run the shell.set --enabled true command.
    2. Run the shell command to start the Bash shell and log in.

  2. Open the /etc/nsswitch.conf file using a text editor. For more information, see Editing files on an ESX host using vi or nano (1020302).
  3. Locate the passwd: compat ato entry and replace it with the passwd: compat ato lsass.

  4. Restart vpxd by running this command:

    /etc/init.d/vmware-vpxd restart

Additional Information

To be alerted when this article is updated, click Subscribe to Document in the Actions box.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 56 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 56 Ratings
Actions
KB: