LDAP/Active Directory group Mapping

Just wondering if there is a way to map AD groups to a opennebula group.

I have got it working via the server1.yaml file and this works fine however I want to be able to create a group and add this to the group template:


I cannot for the life of me find out how I edit the group template or where it is stored.

I have a batch of groups that I create dynamically and ideally I would add this option upon creation of the group as opposed to having to map the groups manually afterwards.

Any help on this would be appreciated.

Looks like I have found the Value its under attributes in the Gui:

GROUP_DN = CN=technicians,CN=Groups,DC=example,DC=com

Is there anyway to do this via the CLI command onegroup create