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.
- Log in to the Directories Management virtual machine as the root user.
If you are using an additional connector for the directory, log in to the connector virtual machine.
- Change directories to /usr/local/horizon/conf.
- Edit the domain_krb.properties file to add or edit the list of domain to host values.
Use the following format:
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.
- 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
- Restart the service.
service horizon-workspace restart