Hi,
I am using the CUPI API to integrate the Unity system into our existing password reset application suite. I am almost there and having difficulty getting past this last issue.
I am making two calls to the API. The first one to get the object id for a user which works fine in our test environment. The second one does two things; reset the user's PIN and unlock the account. The unlock appears to be working so it seems the second call is received, but just not liked much for the reset.
I get an HTTP status of 400 and the below error from the API...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>IMS_ERROR</code><message>LDAP authentication enabled. UpdateCredential failure</message></errors></ErrorDetails>
I am just the developer and cannot pretend to understand how this thing is configured, what security they are using (I assume LDAP :-/ ).
Here is what the first call looks like to CUPI to get the account details...
[url=https://fully qualified url/vmrest/users?query=(alias is V8QP)]https://fully qualified url/vmrest/users?query=(alias is V8QP)
After extracting the info from the response XML from CUPI I format the second call URL And XML for the reset.
Here is what the second call looks like to CUPI to do the reset...
https://fully qualified URL/vmrest/users/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/credential/password <Credential><UserObjectId>
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</UserObjectId><CredentialType>4</CredentialType><Credentials>12344321</Credentials><Locked>0</Locked></Credential>
After I send the second request I get the error I stated above. The odd part is that the user's logon attempt field is always reset to 0 on the server. So I concluded the request is making it fine from a developer standpoint, but not sure why the reset isn't occurring.
The documentation indicates the password might need to be encrypted?
Thank you!