Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.