See this discussion (esp. the response from Prasanna)
http://markmail.org/thread/7r6ia3ckkt6fzlic

-----Original Message-----
From: Valery Ciareszka [mailto:valery.teres...@gmail.com] 
Sent: Tuesday, August 13, 2013 3:37 AM
To: users
Subject: api login

Hi all.

I'm using CS 4.1.0 and try to perform login api call, as described at 
http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/login.html
However, it does not work with md5. And it works if i send password in plain 
text.

MD5 worked in cs 4.0.2, but now it works with plaintext only.

> api login username=admin password=md5hashofpasswordhere
HTTP Error 531:

> api login username=admin password=UNENCRYPTEDPASSWORDHERE
account = admin
domainid = e3bcebeb-9932-4448-aa9f-e2b613ba45e7
firstname = admin
lastname = cloud
registered = false
sessionkey = XPNqQLFq7T250YLXWgawnfH0GM8= timeout = 1800 type = 1 userid = 
79c285d1-54df-4169-84d1-72ff99f52998
username = admin


What's wrong with md5 auth in cs 4.1 ?


--
Regards,
Valery

http://protocol.by/slayer

Reply via email to