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

Re: recreating DB from ldiff



On 31/08/2009 14:00, Tihomir Culjaga wrote:
Hello,

I have an issue when adding entries to DB. for some reason im getting
this autput:


[root@ldap]# slapadd -f /etc/openldap/slapd.conf -l
/home/tculjaga/export.ldif -q -c



str2entry: entry -1 has multiple DNs
"lbsID=100,uniqueID=38512331810,ou=redirec" and
"uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
slapadd: could not parse entry (line=1727833)


str2entry: entry -1 has multiple DNs "lbsID=100,uniqueID=385138" and
"uniqueID=38513899170,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
slapadd: could not parse entry (line=10487774)
str2entry: entry -1 has multiple DNs
"lbsID=100,uniqueID=38514552151,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
and "uniqueID=38514558227,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr"
slapadd: could not parse entry (line=10895623)



Can someone please explain whats wrong ?


also, i went to lines listed above and found nothing strange at all ...


any help ?

Hi,

It looks like your LDIF file is malformed around these lines. In particular, are there white lines between each entry (an entry begins with a line starting with "dn:")?

If you post an extract (or point to a pastebin) of the problematic LDIF file here we may be able to provide more specific help.

Regards,
Jonathan