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

Carsten.Friedrich at csiro.au Carsten.Friedrich at csiro.au
Thu Mar 10 15:24:41 PST 2011


Groups and permissions would be fantastic. Especially regarding image management I have a very current need for this!

Looking forward to it.

Carsten


From: Carlos Martín Sánchez [mailto:cmartin at opennebula.org]
Sent: Thursday, 10 March 2011 23:31
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 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<mailto: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<http://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<mailto:cmartin at opennebula.org>]
Sent: Monday, 7 March 2011 22:23
To: Friedrich, Carsten (ICT Centre, Acton)
Cc: users at lists.opennebula.org<mailto: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<http://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<mailto: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<http://one.imagepool.info> .

Thanks,
Carsten


_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto: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/20110311/4b54bc91/attachment-0002.htm>


More information about the Users mailing list