[one-users] XML RPC - one.user.info authorization

Tobias Höfler hoefler.tobias at googlemail.com
Wed Mar 17 15:06:59 PDT 2010


Hi all,

thanks a lot for your help.
There was a little problem with my SHA1 method.

Cheers,
Tobias


Ruben S. Montero wrote:
> Hi,
>
> Only oneadmin (i.e. user with ID=0) is allowed to invoke the
> "one.userpool.*" and "one.user.*· methods. The "Error code: -1" means
> either a wrong format (i.e. not <user>:<password>), a not registered
> user or  a wrong password.
>
> Cheers
>
> Ruben
>
>
> On Wed, Mar 17, 2010 at 10:23 PM, Tobias Höfler
> <hoefler.tobias at googlemail.com> wrote:
>   
>> Hi,
>>
>> Actually, I need a list with all users and their user IDs.
>>
>> I've tested the "one.userpool.info" method, but the following error
>> message gets returned:
>> User not authorized to pull user pool info. Error code: -1
>>
>> I called the one.user.info method with both parameters.
>>
>> It seems, that there is an authorization problem....
>>
>> Thanks for your help,
>> Tobias
>>
>>
>> Jeroen Nijhof wrote:
>>     
>>> Hi,
>>>
>>> Did you call the one.user.info method with the two parameters?
>>>
>>> oneadmin:<sha1 passwd string>, <an user id>
>>>
>>> If you want a list of existing users use the one.userpool.info method
>>> instead with the auth parameter:
>>>
>>> oneadmin:<sha1 passwd string>
>>>
>>> Regards,
>>> Jeroen
>>>
>>> On Wed, 2010-03-17 at 20:57 +0100, Tobias Höfler wrote:
>>>
>>>       
>>>> Hi all,
>>>>
>>>> I'm currently programming with the XML RPC API of OpenNebula.
>>>> If i try to execute the one.user.info method (with the oneadmin user) I
>>>> always get the message "User not authorized to retrieve user information".
>>>> Does anyone know, how I could fix the problem ?
>>>>
>>>> Thanks a lot in advance.
>>>> cheers, Tobias
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>         
>>>
>>>       
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>     
>
>
>
>   




More information about the Users mailing list