The /usr/local/horizon/conf/domain_krb.properties file determines the domain controllers to use for directories that have DNS Service Location lookup enabled. You can edit the file at any time to modify the list of domain controllers for a domain, or to add or delete domain entries. Your changes will not be overridden.

About this task

The file is initially created and auto-populated by the connector. You need to update it manually in some scenarios.

  • If the domain controllers selected by default are not the optimal ones for your configuration, edit the file and specify the domain controllers to use.

  • If you delete a directory, delete the corresponding domain entry from the file.

  • If any domain controllers in the file are not reachable, remove them from the file.

See also About Domain Controller Selection.

Procedure

  1. Log in to the Directories Management virtual machine as the root user.
    Note:

    If you are using an additional connector for the directory, log in to the connector virtual machine.

  2. Change directories to /usr/local/horizon/conf.
  3. Edit the domain_krb.properties file to add or edit the list of domain to host values.

    Use the following format:

    domain=host:port,host2:port,host3:port

    For example:

    example.com=examplehost1.example.com:389,examplehost2.example.com:389

    List the domain controllers in order of priority. To connect to Active Directory, the connector tries the first domain controller in the list. If it is not reachable, it tries the second one in the list, and so on.

    Important:

    Domain names must be in lowercase.

  4. Change the owner of the domain_krb.properties file to horizon and group to www using the following command:

    chown horizon:www /usr/local/horizon/conf/domain_krb.properties

  5. Restart the service.

    service horizon-workspace restart