Hello
Here is my code:
----------------------------------------------------------------------------
string const serverUrl("http://IP:2633/RPC2");
string const methodName("one.user.info");
xmlrpc_c::clientSimple myClient;
xmlrpc_c::value result;
myClient.call(serverUrl, methodName, "ss", &result,
"oneadmin","one_admin_pass");
----------------------------------------------------------------------------
in oned.log : i'm getting:
Tue Jun 7 10:15:56 2016 [Z0][ReM][D]: Req:1120 UID:0 UserInfo invoked , "
one_admin_pass "
Tue Jun 7 10:15:56 2016 [Z0][ReM][E]: Req:1120 UID:0 UserInfo result
FAILURE [UserInfo] User couldn't be authenticated, aborting call.
Any one have example code ? or can any one help with it ? how pass to server
RPC2 login and password from C ?
Thx
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org