Mac OS X 10.2: May Not Start Up If LDAP Server Designated in Directory Access Is Not Available

If Mac OS X is set up to access an LDAP server for directory services, it may not finish starting up completely when that server is not available.
Symptom

The computer appears to start up normally, but stops starting up near the end of the progress bar. If the computer is already started up, it may slow down or become unresponsive for extended periods of time.


Solution

Update to Mac OS X 10.2.2 or later for best results. For earlier versions, or if the issue persists, the steps below may be used to reach a resolution.

Click here for Mac OS X client.
Click here for Mac OS X Server.

I. Steps for Mac OS X

If the computer is already started up:

If the computer will not start up:

Note: This will set all Directory Access configurations back to their default values."

II. Steps for Mac OS X Server

Note: The "*" character in step 9 is vital, as it prevents the deletion of important invisible files. If you followed these instructions incorrectly and accidentally deleted the .DSTCPListening file, this command will create a new one:

sudo touch /Library/Preferences/DirectoryService/.DSTCPListening
Published Date: Feb 17, 2012