When openldap 2.1.13-r2 is configure to use berkdb backend (database bdb or ldbm defaults to berkdb) the following occurs: 1. database quickly corrupts when queried 2. slapd does not fork 3. slapindex segfaults It's using db-4.1.25_p1-r4. I've tried rebuilding the ldap database from scratch again, rebuild db and openldap, tried different kernels,... :P Reproducible: Always Steps to Reproduce: 1. slapd.conf -> database bdb | database ldbm and USE="berkdb" 2. /etc/init.d/slapd start 3. start using the server and slapindex and things go down hill very quickly Actual Results: The ldap database became corrupted with in moments To work around this I switch the backend to use gdbm as follows: USE="-berkdb gdbm" emerge openldap in /etc/openldap/slapd.conf: database ldbm
Why are you using such an old openldap? go and use 2.1.30* or 2.2.23*
Opps sorry, I meant version 2.1.30-r2. Just a typo, this has had my network down for a day and a half :P
ok, please post your emerge info output and additionally, put 'test' in your FEATURES and emerge openldap again to see if it fails it's tests.
Sorry I haven't been able to run these tests for you. I'm in the middle of a project that requires my attn and can't afford to bring the network down for the moment. I hope to have the results for you over the weekend.
please reopen when you have the information.