On 11/26/2012 4:47 PM, Giovanni Toraldo wrote:
On Mon, Nov 26, 2012 at 10:43 AM, Hoàng Thái Xuân Khoa
<htxuank...@gmail.com> wrote:
Client client = new Client("oneadmin:7f44b494160f2e69fed6c21b2ce555b8",
"http://localhost:2633/RPC2";);
This looks like an md5 hash, you should put your *real* password instead.

--
Giovanni Toraldo
http://gionn.net
It's still didn't work.

The 7f44b494160f2e69fed6c21b2ce555b8 is a default password when i installed OpenNebula. So, i don't know *real* password behind it. I decide use oneuser command to change oneadmin's password:
oneadmin@cluster:~#oneuser passwd 0 123
with 0 is the id of oneadmin user and 123 is a new password. After that, i can use password 123 to logon to SunStone server, managed private cloud via command line successfully. But, when i used it in Java code, it's didn't work.
Client client = new Client("oneadmin:123","http://localhost:2633/RPC2";);
I got the same error:
/Error message: [HostPoolInfo] User couldn't be authenticated, aborting call./

--
Hoang Thai Xuan Khoa
Ho Chi Minh city, Vietnam

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to