VMware Cloud Community
User003
Enthusiast
Enthusiast

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

11 Replies
Sreejesh_D
Virtuoso
Virtuoso

Hi,

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

0 Kudos
User003
Enthusiast
Enthusiast

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
Enthusiast
Enthusiast

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

TaiNguyen10
Contributor
Contributor

I had to log in to thank you for your message.
Thank you so much and best wishes to you

Tai Nguyen Tan

Tai.nguyen10@hitachivantara.com

0 Kudos
taha_Atcl
Contributor
Contributor

I have same issue unable to reset password getting error


3
Please enter account UPN : administrator@vsphere.local
VmDirForceResetPassword failed (9106)

and out for root@imdjed-vcent01 [ ~ ]# /usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost

Is    svt.local

Please can you help with any other procesure to resolve it.

0 Kudos