Specific OU's during host registration
-
@chris-whiteley Lets look at this from another direction.
Can the target OU be calculated during deployment? I have a complex OU structure [image][hwclass][site][domain] (ou=soe,ou=desktop,ou=nyc,dc=domain,dc=com) that is calculated during image deployment, and I use a post install script to update the unattend.xml file with the proper OU placement. I let the unattend.xml file connect the computer to AD and not FOG.
-
@george1421 I guess I could look at that as well. I just want the easiest way to do it I guess. (Even though it won’t be super easy )
-
@tom-elliott Would this request be closer in design to the plugin for managing windows keys? I don’t know what was involved with that plugin, but on the surface it sounds like a similar task.
-
@chris-whiteley Well it depends on what you mean by easy? Everything has trade-offs.
Can you provide what your AD structure looks like and how you might calculate the OU?
-
@george1421 it is setup as location - floor - Place
-
If we were to parse this, location might site? If so does each site have its own IP address range?
What about floor, what is unique about the floor?
The same for place?
The idea here is to find something unique about each specific OU.
I guess a logical question might be how many OUs are we talking about?
-
So I finished making the plugin for 1.6.
I haven’t tested it, but that’s why I love the FOG Community.
I’d ask you to switch to the 1.6 branch, but it’s in heavy development and many things likely do not work as expected. My work on the new plugin should make sure things are operationally capable based on looking over everything.
Essentially I just added a hook for the hostname changer when it gets checked from the client. The hook is then used in the OU plugin to alter the host adou field based on the associated host’s OU.
-
I also have to build new init’s to take into account the ou stuff during registration.
-
@george1421 each site currently doesn’t have its own subnet. It will change. It is company name: contoso.com -> Location of office, California -> business office.
Something like that.
-
@tom-elliott thank you so much! You are a rockstar. I look forward to 1.6!