[one-users] RPC client: how to determine my user id?

Carlos Martín Sánchez cmartin at opennebula.org
Thu Mar 10 04:31:13 PST 2011


Hi Carsten,

You are right, there are some operations that require the user ID and only
oneadmin can know it.
For now, those operations will remain only accessible to oneadmin. In the
short term, we want to improve the overall user management (to add groups
and, maybe, permissions) and we'll address this issue at that moment.

Thanks and regards,
Carlos.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org


On 7 March 2011 23:08, <Carsten.Friedrich at csiro.au> wrote:

> Hi Carlos,
>
>
>
> Thanks for the reply. Using -1 or -2 and then filtering on the client side
> based on the username works for one.userpool.info. (Still wouldn’t work
> for one.user.passwd however).
>
>
>
> Thanks,
>
> Carsten
>
>
>
> *From:* Carlos Martín Sánchez [mailto:cmartin at opennebula.org]
> *Sent:* Monday, 7 March 2011 22:23
> *To:* Friedrich, Carsten (ICT Centre, Acton)
> *Cc:* users at lists.opennebula.org
> *Subject:* Re: [one-users] RPC client: how to determine my user id?
>
>
>
> Hi Carsten,
>
>
>
> You can use instead the -1 filter flag [1].
>
>
>
> The user ID is intended for administrators. Authorized users like
> 'oneadmin' can perform a one.userpool.info call and look for the ID of a
> given name.
>
>
>
> Regards,
>
> Carlos.
>
>
>
> [1] http://opennebula.org/documentation:rel2.0:api#image_pool_information
>
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org
>
> On 7 March 2011 02:21, <Carsten.Friedrich at csiro.au> wrote:
>
> Over RPC, how do I find out what my user id is; e.g. for use in other calls
> such as one.imagepool.info .
>
>
>
> Thanks,
>
> Carsten
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110310/dece19c3/attachment-0002.htm>


More information about the Users mailing list