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
search cancel

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

book

Article ID: 342774

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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:</time></time></time>



Environment

VMware vCenter Server Appliance 5.1.x
VMware vCenter Server Appliance 6.0.x
VMware vCenter Server Appliance 5.5.x

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 document is updated, click the Subscribe to Article link in the Actions box
Editing files on an ESX host using vi or nano
[Windows セッションの認証情報を使用する] オプションを使用して、vSphere Client ユーザーとして vCenter Server Appliance にログインしようとすると、次のエラーで失敗する: ユーザー情報を取得できません
以 vSphere Client 用户身份通过“使用 Windows 会话凭据”选项登录到 vCenter Server Appliance 失败,并出现错误: 无法获取用户信息