Hi @All,
now while my ldapserver is working on my testmachine, i'am trying to import my ldif files.
I read the thread http://www.openldap.org/lists/openldap-software/200711/msg00069.html
but the import isn't working for me.
abirndt@lvps83-169-33-218:~/openldap_2axels-company$ sudo slapadd -F /etc/ldap/slapd.d -n 0 -l dc_2axels-company_dc_de_export.ldif slapadd: line 1: database (cn=config) not configured to hold "dc=2axels-company,dc=de" slapadd: line 1: database (cn=config) not configured to hold "dc=2axels-company,dc=de" abirndt@lvps83-169-33-218:~/openldap_2axels-company$ sudo slapadd -F /etc/ldap/slapd.d -n 0 -l cn_config_export.ldif
I created my backupfiles with the following commands:
sudo slapcat -b cn=config -F /etc/ldap/slapd.d/ >cn_Config_export.ldif
sudo slapcat -b dc=2axels-company,dc=de -F /etc/ldap/slapd.d/
dc_2axels-company_dc_de_export.ldif
I'am also looking in google for solving this, but in my mind i haven't the right keywords...
Could anyone give me a hint or a link for reading, how to import the created ldif files from above to a new ldap-server?