[Date Prev][Date Next] [Chronological] [Thread] [Top]

Migrating from a Netscape LDAP Server to openldap

Hi there.

We have a running Netscape LDAP Server and for several reasons I have to migrate it to openldap.

The Netscape Server Settings are:

Database Parameters:
  Suffix: o=everyware,c=ch Help
  Suffix: dc=ldap,dc=everyware,dc=ch Help
   Root DN: cn=admin,o=everyware,c=ch

so I made this sldap.conf:

include         /etc/openldap/slapd.at.conf
include         /etc/openldap/slapd.oc.conf
schemacheck     off
pidfile         /var/slapd.pid
argsfile        /var/slapd.args

database        ldbm
suffix          "o=everyware,c=ch"
directory       /usr/tmp
rootdn          "cn=admin, o=everyware, c=ch"
rootpw          xxx

And then I tried to add one entry like this:

dn: c=ch
objectclass: top
objectclass: country
c: Switzerland

ldapadd -D "cn=admin, o=everyware, c=ch" -W < 1.ldif

but it just gives me a:

ldap_add: No such object.

What am I missing?

Marc Eggenberger
EveryWare AG
Bellerivestr. 7
8008 Zuerich
tel   : +41 1 3855900
fax   : +41 1 3855910
eMail : me@everyware.ch
Web   : http://www.everyware.ch