-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different OU's for different hostgroups #17
Comments
I guess the way to do it is to install multiple realm-foreman-proxies and then use hostgroups to specify which proxy to use. |
Well, this did not work as I thought it would since the realms you create in Foreman has to have the same name as the AD domain. So I can't have multiple realms for the purpose of using different OU's for Windows Server/Linux Servers/Linux desktops in the same AD domain. So this would still be useful, unless anyone knows another way of achieving this? |
This could be a solution
# Optional: Machines can be placed into different OU's based on the hostgroup
:hostgroup_to_ou_mapping:
:linux: OU=Linux,OU=Servers,DC=lab,DC=local
:windows: OU=Windows,OU=Servers,DC=lab,DC=local
:webservers: OU=Webservers,OU=Servers,DC=lab,DC=local
# Optional: Default OU where the machine account shall be placed
:default_ou: OU=Linux,OU=Servers,DC=example,DC=com https://projects.theforeman.org/projects/smart-proxy/wiki/API |
We have different OU's for our machine accounts in AD for different types of machines - linux server, windows servers, clients. It would be great if you could set which OU to use based on for exampel hostgroups and/or OS.
The text was updated successfully, but these errors were encountered: