Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was configuring OpenLDAP on my Fedora 17. When doing this slaptest, I got this output:

50f16531 hdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2).
Expect poor performance for suffix "dc=my-domain,dc=com".
config file testing succeeded

I fixed that problem by modifying that string into my own domain name locate at slapd.d/cn=config/olcDatabase={2}hdb.ldif. When I do this slaptest again, I got this output:

50f16987 ldif_read_file: checksum error on "/etc/openldap/slapd.d/cn=config/olcDatabase={2}hdb.ldif"
50f16987 hdb_db_open: warning - no DB_CONFIG file found in directory /var/lib/ldap: (2).
Expect poor performance for suffix "dc=huahsin,dc=org".
config file testing succeeded

May I know does this mean the test has been successfully being configured?

share|improve this question
up vote 2 down vote accepted

It's been successfully configured, there's just no DB_CONFIG file. You probably have a DB_CONFIG.example file somewhere that you forgot to copy into /var/lib/ldap/DB_CONFIG, set the correct permissions on, and edit to suit your configuration.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.