Mac OS X Server v10.5: OpenLDAP service may become enabled when binding to Directory Services

Products Affected

Mac OS X Server 10.5

Symptoms

The OpenLDAP service may become enabled when binding a Mac OS X Server to another Directory Service. This service does not need to run on Mac OS X Servers that are not Open Directory Masters or Replicas. You can determine if this service gets started by reviewing the system.log for the following messages: 

Oct 15 10:26:16 server com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 10 seconds
Oct 15 10:26:26 server com.apple.launchd[1] (org.openldap.slapd[14101]): Exited with exit code: 1

You can review the system.log with the Console utility, located in /Applications/Utilities. Once Console is opened, click the "Show Log List" button in the Toolbar and select system.log from the list.

Resolution

You can prevent this service from being loaded by executing the following command in Terminal:

sudo launchctl unload -w /System/Library/LaunchDaemons/org.openldap.slapd.plist

Important: Do not run this command on an Open Directory Master or an Open Directory Replica on Mac OS X Server. Doing so would prevent the LDAP service from starting.

Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Not helpful Somewhat helpful Helpful Very helpful Solved my problem