Centrify DirectControl, Centrify Identity Service, Mac Edition
Centrify Infrastructure Services
KB-1394: Is adcheck site aware?
Is adcheck AD site aware or does it alphabetically go through a list of DCs ?
The command adcheck checks the readiness of a machine to join an Active Directory domain.The adcheck command performs operating system, network, and Active Directory tests to verify that a machine is ready to join the specified Active Directory domain
How does it go about: adcheck needs a DC as boot strap point - to figure out the site. It simply picks the first one returned from the list of all the DC's for the domain. The list is derived from DNS. adcheck "probes" this DC first and then query it for configuration info. Once adcheck figures out the site the machine should be in, then it will limit itself to only probing the DC in this site. This behavior is by design. Since after adjoin, adclient is already site aware, it will prefer to use the DC from site first.
-S to limit probe of DC to site only.
-b 10 to limit DC probe to 10.
For additional flags: Please refer to the man pages of adcheck.