With Corporate Directory you can limit search returned to specific Active Directory OU (one or multiple).
To accomplish that you will need to add a value to an existing registry key. The value can be added to the “Customerdefaultprofile” settings file prior to installation. You can also add this value after Corporate Directory is already installed manually or using group policy. If you are updating a registry key when Corporate Directory is running you will need to restart for the settings to take effect by using right mouse click the tray icon and choosing “Exit” then starting the application again.
In the following example we’ll show how to limit search results to users located only in any of the following 3 Active Directory OUs:
OuName1, OuName2 and OuName3
The registry key you will need to update is: HKEY_CURRENT_USERSoftwareCorporateDirectoryRemoteSourcesAD_OU_FILTERS
The value for this example would be: [OU=OuName1][OU=OuName2][OU=OuName3]
(after update remember to restart the application)
The number 1 in the first square brackets indicates “include” meaning that search results will be returned only from these 3 OUs.
If you wish to add this setting in the “Customerdefaultprofile” file to be used as default setting during installation you will need to add to the file the following line:
When installing Corporate Directory on a computer for the first time it will any settings listed in the “Customerdefaultprofile”.
In a similar way using the number 0 (zero) to indicate “exclude” will cause Corporate Directory not to return search result from specific OU/s.
The following image illustrates the structure of the Active Directory CN field:
Corporate Directory support team is available to help you implement such settings. If you need assistance please send us a list of OU’s to
(firstname.lastname@example.org) and we will send you back a “CustomerDefaultProfile” file with all the needed settings to limit or exclude search results to these OUs. We will include the customized setting file in the installer (MSI) so these values will be set by default when you roll out the software to all users.