Mac OS X v10.5: Binding to Active Directory stops working

A Mac OS X 10.5 client or Server may appear to be bound to Active Directory in Directory Utility, but accessing Active Directory resources may not work or may time out. Unbinding and rebinding the computer to Active Directory also may not resolve the issue.

This article has been archived and is no longer updated by Apple.

Update to Mac OS X v10.5.7 or later

Update the client to Mac OS X v10.5.7 or later; update the server to Mac OS X Server v10.5.7 or later.

Check DNS consistency

If the issue persists, review this article to ensure that the issue is not related to DNS.

Re-create certain Kerberos configuration files

If the issue persists after verifying DNS consistency, certain Kerberos configuration files used by Mac OS X may need to be created again.

To remove and re-create the files, execute the Terminal commands listed below:

sudo -s
cd /var/db/dslocal/nodes/Default/config
ls -l Kerberos:*

: The above command lists all the Kerberos realms configured on the computer. Each Active Directory domain is represented by a separate realm file. Locate those that match your Active Directory domain(s) and remove them with the following command (the backslash before the colon is required):

rm Kerberos\:AD.DOMAIN.NAME

Once removed, enter the following command to restart DirectoryService and rebuild the Kerberos configuration files upon your next connection to Active Directory:

sudo killall DirectoryService

TIp: If you use anti-virus software that performs real-time scanning, configure the software so it does not scan the /var/db/dslocal/ directory path. This may help avoid issues from occurring with certain Kerberos configuration files.

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Published Date: