Configure Adaxes to use specific domain controllers

By default, Adaxes relies on the Domain Controller Locator Service to locate domain controllers for a managed domain. To configure Adaxes to only use domain controllers from a predefined list:

  1. Navigate to the folder where Adaxes service is installed. By default, the folder is C:\Program Files\Softerra\Adaxes 3\Service.

  2. Open the Softerra.Adaxes.Service.exe.config file with a text editor.

  3. Locate the configuration\softerra.adaxes\managedDomainSettings\allowedDomainControllers XML element.

  4. Under the allowedDomainControllers XML element, create an XML element add with the following parameters:

    • key - the fully qualified name of the domain.
    • value - a comma-separated list of the domain controllers allowed for the domain. Domain controllers in the list can be represented by fully qualified domain names or NetBIOS names.
    <configuration>
        ...
        <softerra.adaxes>
            ...
            <managedDomainSettings ...>
                <allowedDomainControllers>
                    <add key="domain1.com" value="dc1.domain1.com,DC3" />
                    <add key="domain2.com" value="dc1.domain2.com,DC4" />
                </allowedDomainControllers>
    

    Note

    Adaxes will connect to the first available domain controller in the list.

  5. Save the file.

  6. Restart the Adaxes service.