idm icon indicating copy to clipboard operation
idm copied to clipboard

Issues setting user passwords via API

Open 5280tunage opened this issue 4 years ago • 2 comments

Describe the bug

Based on numerous articles found on both VMW websites as well as third party websites, we should be able to manually set user passwords in vidm via the API. However, I am completely unable to manually set passwords for local users in the system domain/system directory. I am currently using Postman to attempt to complete this.

All other get transactions work just fine.

When committing the change, I'm receiving this error: { "Errors": [ { "code": "400", "description": "Cannot set a password for this user." } ] }

Reproduction steps

1.  Commit patch action via API using Postman
2.  Attempt to manually set a password during a user creation process via API in Postman
3.  Currently using vidm version 3.3.6.0 Build 19203469
...

Expected behavior

Would expect to be able to set password for local users in the local system directory, local system domain.

Additional context

This vidm environment is in a closed environment, no SMTP server or outbound SMTP to the internet, thus preventing me from using that as a password reset function. I really wish vidm had an appliance wide setting that allowed for other password reset options, like a builtin password reset page.

5280tunage avatar Feb 22 '22 16:02 5280tunage

Also, just to add one of those articles that describes this procedure: https://kb.vmware.com/s/article/83586

and/or

https://virtualinca.com/reset-local-user-password-in-vmware-identity-manager-vidm-via-rest-api-using-postman/

5280tunage avatar Feb 22 '22 16:02 5280tunage

Sadly I never got a response from anyone, no real fix it seems. Only thing I could do was completely blow away everything and start from scratch.

5280tunage avatar Apr 01 '22 14:04 5280tunage