ssh API (may be a program bug)

ssh API (may be a program bug)

Hi all,

I am using PMP build 6403. I configure a API user, it works fine and I can retrieve password. However I found a problem.  My computer runs Ubuntu OS, PMP is running on Windows 2003.

In my computer, I use this ssh command to reset password :
$ssh -q -p 5522 simon@192.168.1.110 -i ./id_rsa RESET_LOCAL --resource=win2003-1 --account=wong --newpasswrd=Wong12345 --resaon=Rotating Password-2
Password changed successfully

Then retrieve  the password again and get strange result :
$ ssh -q -p 5522 simon@192.168.1.110 -i ./id_rsa  RETRIEVE --resource=win2003-1 --account=wong --reason=Testing Password retrieval using ssh client API
w30Wg142E23015715vK3Ajz0d26O1I16I

The reason is I type wrong command, in first step the --newpasswrd is a wrong command but the system accept it ! I type correct command again --newpassword to reset password then retrieve, it display correct result.

May be it is a program bug.

Simon


















                  New to ADSelfService Plus?