Use DNS A record to locate AD controllers
Currently Dovecot, Postfix and SOGo templates use output from
net ads info command to obtain DC informations.
As explained in How DNS Support for Active Directory Works DNS can be used to obtain such informations. The DC address is returned by a A query to "domainname".
This allow a simple re-implementation of those templates that is not sensible to environments with more than one controller (MS DNS use weights and possibly round-robin policy).
Use DNS host (A) Records Registered by Net Logon. Refs #2729
Simplifies the resolution of domain controllers IP addresses.
#3 Updated by Davide Principi almost 6 years ago
- Status changed from ON_DEV to MODIFIED
- Assignee deleted (
- % Done changed from 30 to 60
After upgrading you must find the realm or the machine domain name (i.e.
adnethesis.it) in the following config files:
# grep adnethesis.it /etc/dovecot/active-directory.conf /etc/postfix/active-directory* /etc/dovecot/active-directory.conf:uris = ldap://adnethesis.it:389 /etc/postfix/active-directory-groups:server_host = adnethesis.it /etc/postfix/active-directory-users:server_host = adnethesis.it