password reset using dir-cli command fails with "ERROR_NO_SUCH_USER"
search cancel

password reset using dir-cli command fails with "ERROR_NO_SUCH_USER"

book

Article ID: 418535

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 8.0

Issue/Introduction

dir-cli password reset fails with ERROR_NO_SUCH_USER (1317) like following:

sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli password reset --account [email protected] --login [email protected]
Enter password for [email protected]:
Enter new password for [[email protected]]:
dir-cli failed. Error 1317: Operation failed with error ERROR_NO_SUCH_USER (1317)

Although both accounts exist.

sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account test01
Enter password for [email protected]:
Account: test01
UPN: [email protected]

sso-user@<vCSA hostname> [ ~ ]$ /usr/lib/vmware-vmafd/bin/dir-cli user find-by-name --account test02
Enter password for [email protected]:
Account: test02
UPN: [email protected]

Environment

vSphere 8.0

Cause

The cause is that the user specified in --login option(test01 in the example above) is not an administrator.

Resolution

Please specify administrator (administrator@<your SSO domain>) when performing the account reset.