CUC Forums

« Back to CUPI Questions

Is there a way to unlock (unhack) a PIN without resetting it?

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Our telecom manager wants a way for folks to be able to unlock their credential (which got locked via bad pin attempts), without resetting the PIN itself.  We are running 7.1.3.68.
 
I tried sending my normal pin reset code with the new pin ommitted:
https://xxxx.rpi.edu/vmrest/users/801373ed-732f-4ddc-a776-db8628e4c4f8/credential/pin
<Credential><Hacked>false</Hacked><HackCount>0</HackCount></Credential>

 
and got the following in response:
<ErrorDetails><errors>
   <code>IMS_ERROR</code>
   <message>There is no credential value for the given credential name</message>
</errors></ErrorDetails>

This should be possible - I just send the same PUT command with the XML looking like this:

<Credential><Locked>0</Locked><Hacked>0</Hacked><HackCount>0</HackCount></Credential>

note the use of 0 instead of "false" - the locked shouldn't be necessary but on my test app it's included in the larger "clear locked account" method...

Thanks for the info! - I will give it a try next time the CUPI interface floats to the top of my project queue.