Chapter 9 Maintaining Open Directory Services 199
Managing OpenLDAP
To provide directory services for mixed-platform environments, Open Directory
uses OpenLDAP, the open source implementation of LDAP. A common language for
directory access lets you consolidate information from dierent platforms and dene a
single name space for network resources.
Whether you have Mac, Windows, or Linux computers on your network, you can set up
and manage a single directory, eliminating the need to maintain a separate directory
or separate user records for each platform.
Conguring OpenLDAP
The OpenLDAP server daemon is slapd, in /usr/libexec/. The primary conguration
les for OpenLDAP are located in the /etc/openldap/. There you will nd the slapd.conf
and slapd_macosxserver.conf les, which contains conguration information.
slapd reads and writes conguration information to the cong backend database
/etc/openldap/slapd.d which is another database by the search base cn=cong. The
old /etc/openldap/slapd.conf and slapd_macosxserver.conf les are created by slapd
but are not read by slapd and should only be used for a reference to the one-to-one
corresponding congurations in the olcGlobal object class under the cong entry. The
attributes and object classes have a prex of olc.
The directory administrator can modify conguration settings such as ACL or schema
settings by using Workgroup Manager with the inspector mode turned on or using
dscl. Also some settings such as sizelimit, timelimit, and SSL settings should only be
set using Server Admin.
Conguring slapd and slurpd Daemons
To congure the slapd and slurpd LDAP daemons and related search policies, use the
slapconfig tool. For more information, see the slapconfig man page.
Standard Distribution Tools
Two types of tools come with OpenLDAP:
Tools that operate directly on the LDAP databases—These tools begin with  slap.
Tools that go through the LDAP protocol—These tools begin with  ldap.
You must run the slap tools on the computer hosting the LDAP database. When
using the slap tools, shut down the LDAP service. If you don’t, your database can get
out of sync.
Comments to this Manuals