Configuring slapd for Startup

Before you start slapd, edit /etc/openldap/slapd.conf to include the location to store the data and details on who is allowed to access the data.

The following configuration changes need to be made:

Use the following commands to configure slapd for startup:

database (use default)
suffix "dc=xxxxxx,dc=org"
rootdn "cn=xxxx,dc=xxxxxx,dc=org"
rootpw {SSHA}c5PemO1KWqz0254r4rnFVmxKA/evs4Hu
directory /var/lib/ldap
allow bind_v2
pidfile /var/run/slapd.pid