GĂ©rard Madiot wrote:
Hi, I would like to change my database directory. I changed for newdir in slapd.conf and DB_CONFIG
What did you change in DB_CONFIG? Do you mean you just moved this file into the new physical directory?
I have deleted my default database directory /var/lib/openldap/openldap-data When I run: slapd -Tt -F /home/ldap/newdir -f /home/ldap/newdir/slapd.conf I get the message: bdb_db_open: Cannot access database directory /var/lib/openldap/openldap-data (2) but I don't find any reference to openldap-data in my config files. Any suggestion?.
Are you trying to convert you slapd.conf to LDIF?