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

Re: Migrating from 1.2 to 2.0.12?

> Hi Folks!
> I want to migrate from openldap 1.2 to 2.0.12.
> How can I convert / migrate my data?
> I tried to export my data as LDIF (ldbmcat) and re-import it with
> slapadd. Did not
> work with the following error message:
> slapadd: str2entry: invalid value for syntax

You need to manually edit the offending attribute values to make
them comply with the appropriate syntax.  Check the schema files
(or directly the appropriate rfc, 2252 and related) to determine
what bytes do not comply.

> Just Copying the /var/lib/ldap/ directory doesn't work either ...
> slapd complains about not being able to open dn2id.dbb

Of course this is not the correct solution ...