我的slapd.conf
database bdb
suffix "dc=pplive,dc=com"
rootdn "cn=root,dc=pplive,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd( and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /usr/local/openldap/var/openldap-data
# Indices to maintain
index cn,sn,uid,pres,eq,approx,sub
index objectClass eq