How to migrate group policies from different domain within UCS?

Hello,
I have 2 domain set up in the server with different IP addresses, DNS and group policies. How can I transfer the group policy from this group to another group in the UCS server?

Thank you

Hi,

this should be possible with “udm” (on the command line). Even though I did not try it out.

With udm you can create objects in the LDAP-Tree. So it should be easy to create some script to export the wanted policies and re-import them to the next domain.

Just gib it a try.

/CV

Thanks for answering Christian. I am pretty new to the UCS. How do I get to command prompt from UCS? I can’t find any option for it.

Hi,

honestly: if you do not have any experience in Linux and do not even know about PuTTY you will have a long and difficult learning path ahead of you.

With Linux you can do nearly everything you want to achieve but you will need a lot of experience. As long as you do not have this experience you should stay close to the default route (meaning: graphical web interface) and not try to get things done by command line. Or at least only simple things. Using udm is not simple…

Anyways:
Once you have been logged on as “root” to the command line you can just type “udm” and it will show you a short help. And by using “univention-ldapsearch” you can read the LDAP tree (which contains the policies). So read the stuff with univention-ldapsearch or udm. Write it to a file. Copy this file to the second server. Use udm or LDAP tools to create it.

But I would suggest to create the policies on the second one manually as it could be a little bit too much for your first steps…

/CV

Yea i understand it will be difficult. Thank you for your time!