OpenLDAP

From ConShell
Jump to navigation Jump to search

Here is how to start the slapd daemon in full debug mode on FreeBSD

/usr/local/libexec/slapd -d-1 -u ldap -g ldap

DB_CONFIG error (fairly common)

# /etc/init.d/ldap restart
Checking configuration files for slapd:  bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)

Fix (could be specific to CentOS/RHEL...

cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG