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

Re: Migrating from a Netscape LDAP Server to openldap



Marc Eggenberger wrote:
> 
> Hi there.
> 
> We have a running Netscape LDAP Server and for several reasons I have to migrate it to openldap.
> 
[...]
> 
> 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
> 
> with
> ldapadd -D "cn=admin, o=everyware, c=ch" -W < 1.ldif
> 
> but it just gives me a:
> 
> ldap_add: No such object.
> 
I think, because of the suffix "o=everyware,c=ch" the entry for
dn: c=ch does not match any database backend.
Can you add an entry for dn: o=everyware, c=ch ?
-- 
Niels Poppe - org.net bv <niels@netbox.org>