Package: slapd
Version: 2.2.23-6

Hello Torsten,
thanks for switching to bdb, I did that few days ago as 'sub' indexes do not work quite reliably in 2.2's ldbm.

There is one problem, that DB_CONFIG is put (should be put...) in /var/lib/ldap, not into backends which were switched from ldbm to bdb. Something based on get_database_list is needed, like slapcat & slapadd loops do...

Due to this subsequent slapadd failed on ~5th entry as it was run without any DB_CONFIG file. I had to copy DB_CONFIG from /usr/share/slapd myself. And BTW, there is something wrong with this copy anyway - DB_CONFIG was not copied into /var/lib/ldap either (it is just directory with some old ldap database from April, and there is no DB_CONFIG here...).

And what's worse, on rerunning configuration it skipped slapadd step, so I was left with /var/lib/slapd empty (besides DB_CONFIG file I just copied there). Fortunately rerunning 'slapadd < /var/backups/slapd-2.2.23-5/ou=usermap,o=cvut,c=cz.ldif' was done with its job in few minutes.
                                        Thanks,
                                                Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to