进入/openldap2.3.43/var/openldap-data目录,vi文件DB_CONFIG
1.在openldap2.4.41版本下,DB_CONFIG为DB_CONFIG.example,且两个地方都有该配置文件。:
/home/openldap/openldap2.3.43/var/openldap-data/DB_CONFIG.example /home/openldap/openldap2.4.41/etc/openldap/DB_CONFIG.example
2.修改文件内容如下
# $OpenLDAP: pkg/ldap/servers/slapd/DB_CONFIG,v 1.1.2.4 2007/12/18 11:51:46 ghenry Exp $
# Example DB_CONFIG file for use with slapd(8) BDB/HDB databases.
# See the Oracle Berkeley DB documentation
# <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html>
# for detail description of DB_CONFIG syntax and semantics.
# Hints can also be found in the OpenLDAP Software FAQ
# <http://www.openldap.org/faq/index.cgi?file=2>
# in particular:
# <ht