Date created: Monday, October 25, 2010 5:35:47 PM. Last modified: Monday, January 25, 2021 2:10:18 PM

Which AD DC?

What Active Directory DC is my Mac currently using? In a mixed environment I use the following to determine the answer from a Mac client:

Check out configured domain status (only when logged in as a domain user) - This will show your user and machine info for the domain:

net ads status

Read the Domain Controller array from the local directory config:

dscl . -read /Config/Kerberos:ADDOMAIN.TLD

And look at active connections (looking for dc.domain.tld.ldap):

netstat -p tcp

Previous page: Update from SUS Now
Next page: Xcode