Question:
Is there a way to configure DirectControl to allow the adclient to adjust the order in which Domain Controllers are listed in the /etc/krb5.conf file?
Answer:
No. The adclient extracts Domain Controller information directly from DNS. The order in which the DCs are listed is undefined. However, the krb5.conf can be manually created in the desired order and then adclient can be configured to prevent it from making changes by setting the following parameter:
adclient.krb5.autoedit: false
The adclient can also be configured to include or exclude DCs from the krb5.conf file, by setting the following parameters:
To whitelist domains:
dns.dc.<domain>: <good-dc1>.<domain> <good-dc2>.<domain>
dns.gc.<domain>: <good-gc1>.<domain> <good-gc2>.<domain>
To blacklist domains:
dns.block: <bad-dc1>.<domain> <bad-dc2>.<domain>
The adclient must be restarted after making the change