User003
Contributor
Contributor

can't reset administrator password

launched with the shell command shell but the pi still reset password does not work

==================

Please select:

0. exit

1. Test LDAP connectivity

2. Force start replication cycle

3. Reset account password

4. Set log level and mask

5. Set vmdir state

==================

3

  Please enter account UPN : cn=administrator,cn=users,dc=vSphere,dc=local

VmDirForceResetPassword failed (9106)

==================

Please select:

0. exit

1. Test LDAP connectivity

2. Force start replication cycle

3. Reset account password

4. Set log level and mask

5. Set vmdir state

==================

3

  Please enter account UPN : Administrator@vSphere.local

VmDirForceResetPassword failed (9106)

vcenter VMware vCenter Server Appliance 6.0.0.20000

9 Replies
yezdi
Virtuoso
Virtuoso

Hi,

whats the user used for login to VCSA shell? does that user has root privilege?

0 Kudos
User003
Contributor
Contributor

root login has been used

0 Kudos
Vijay2027
Expert
Expert

what is the o/p for the command:

/usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost

User003
Contributor
Contributor

localhost:~ # /usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name                                              

localhost

vCenter.maysun.local

==================

Please select:

0. exit

1. Test LDAP connectivity

2. Force start replication cycle

3. Reset account password

4. Set log level and mask

5. Set vmdir state

==================

3

  Please enter account UPN : administrator@maysun.local

VmDirForceResetPassword failed (9106)

==================

Please select:

0. exit

1. Test LDAP connectivity

2. Force start replication cycle

3. Reset account password

4. Set log level and mask

5. Set vmdir state

==================

3

  Please enter account UPN : cn=administrator,cn=users,dc=maysun,dc=local    

VmDirForceResetPassword failed (9106)

Vijay2027
Expert
Expert

Your single sign-on domain name is vCenter.maysun.local and the SSO admin password will be:

administrator@vCenter.maysun.local

JIMYJOY
Contributor
Contributor

yep, this worked for me. i'm using an 6.7 exsi version and 6.7 vcenter too. and on the web client i logged with name@fqdn (administrator@vcsa.coteus.local). hope it'll help somebody else

0 Kudos
khussain
Contributor
Contributor

Thanks, This was very help. I used wrong spells of domain instead of vsphere, I used administrator@vshpere.local. It worked

OluwaseunAk
Contributor
Contributor

please i'm having this same issue. I have tried the above recommendations but still not working

0 Kudos
ronsonx
Contributor
Contributor

Instead of trying ldap cn, trying the email format worked for me. E.g.:

Please enter account UPN : akashp@vsphere.local
New password is -
@EV4*********=D_Qj

0 Kudos