Hi Hari,
Adding the users to the group is done by the Directory Server
(LDAP) so it's separate from the oVirt system.
You could have it done by the same program/script your using to add
users/groups to the oVirt system but it would be an ldap call to the Directory
Server.
Hi Paul,
This API add's the user to ovirt with the domain.
http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
users/methods/add
But Is there an API to add the user *and also map the user to the group*?
On Tue, Jul 24, 2018 at 7:31 PM, wrote:
> Hi Hari,
>are you sure
Hi Hari,
are you sure you want to assign the superuser permission for all the
discovered users?
What level are you applying it to as it means everyone can change or delete
everything below that level.
We put users into a directory group and give permissions to the group as Ondra
Thank you so much, Ondra.
Your help is greatly appreciated.
On Tue, Jul 24, 2018 at 3:41 PM, Ondra Machacek wrote:
> If it's possible in SDK it's also possible in API.
>
> To get all domains:
>
> http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/
> domains/methods/list
>
> To get all
If it's possible in SDK it's also possible in API.
To get all domains:
http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/domains/methods/list
To get all users in domain:
http://ovirt.github.io/ovirt-engine-api-model/4.2/#services/domain_users/methods/list
To add user from domain:
Hi Ondra,
We are not using ovirtSDK, It is completely new to us.
*Is there an oVirt API *
1) To discover all the users in LDAP using the provided domain and
namespace?
2) Add all the discovered users in Ovirt?
3) Assign the superuser permission for all the discovered users?
Something like this should work for you:
import ovirtsdk4 as sdk
import ovirtsdk4.types as types
DOMAIN_NAME = 'internal-authz'
connection = sdk.Connection(...)
users_service = connection.system_service().users_service()
domains_service = connection.system_service().domains_service()
domain
Also Ondra,
I added the list of users in a group in LDAP and I am able to discover all
the users in ovirt UI (In add users and groups tab).
*Is there an API *to discover the users in LDAP and add in the user's table
in Ovirt?
Thanks,
Hari
On Tue, Jul 24, 2018 at 2:53 PM, Hari Prasanth
Hi Ondra,
Thanks much for the suggestion. Much Appreciated.
It's not, but you can write a script which can do this. - Could you give a
small brief on the type of script we need to write?
On Tue, Jul 24, 2018 at 12:50 PM, Ondra Machacek
wrote:
> It's not, but you can write a script which
It's not, but you can write a script which can do this. But if you want
all users from the ldap are able to login I would suggest to you create
some group in LDAP and add all users as a member of this group and add
this group to ovirt and assign it the permissions.
On 07/23/2018 08:36 PM, Hari
Guys any update on this ?
Any help is much useful for me
On Mon, 23 Jul 2018 at 9:04 PM, Hari Prasanth Loganathan <
hariprasant...@msystechnologies.com> wrote:
> Hi Team,
>
> Good Morning.
>
> I configured the ovirt with LDAP setup.
>
> Is there an *oVirt tool* (or any way) to add all the
11 matches
Mail list logo