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

Re: Export / import ldap database between 2.2.29 & 2.3.27



On Friday 01 February 2008 13:33:33 asiani@free.fr wrote:
> Ok i tried slapcat ...
>
>
> service ldap stop
> slapcat > fichier.ldif
> service ldap start
>
> slapcat -l fichier.ldif
> str2entry: invalid value for attributeType objectClass #1 (syntax
> 1.3.6.1.4.1.1466.115.121.1.38)
> slapadd: could not parse entry (line=77)

So, most likely your new server is missing the schema definition for the 
objectclass in your ldif file on line 77, or for the attribute starting on 
line 77.

If you can't find out for yourself, please send the output of:

tail -n106 fichier.ldif|head -n30

so that someone can see what is in your file (since you haven't bothered to 
look where the error message tells you to look).

Regards,
Buchan