Date created: 10/25/10 17:35:47. Last modified: 01/20/13 15:07:48

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: Dennis Ritchie