Here is the chunk, i marked the line (1727833) in red.

1727785 dn: uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727786 nodeID: 10
1727787 userType: R
1727788 cpsPrefix: 0
1727789 qos: 100
1727790 objectClass: top
1727791 objectClass: uniqueID
1727792 lnpPrefix: 68A10
1727793 nodePrefix: A
1727794 netID: 68
1727795 uniqueID: 38512331795
1727796
1727797 dn: lbsID =100,uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727798 publicNumber: 38512331795
1727799 lbsID: 100
1727800 objectClass: top
1727801 objectClass: lbsID
1727802
1727803 dn: lbsID =101,uniqueID=38512331795,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727804 publicNumber: 38512331795
1727805 lbsID: 101
1727806 objectClass: top
1727807 objectClass: lbsID
1727808
1727809 dn: uniqueID=38512331810,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727810 nodeID: 0
1727811 userType: R
1727812 cpsPrefix: 0
1727813 qos: 100
1727814 objectClass: top
1727815 objectClass: uniqueID
1727816 lnpPrefix: 44A00
1727817 nodePrefix: A
1727818 netID: 44
1727819 uniqueID: 38512331810
1727820
1727821 dn: lbsID =100,uniqueID=38512331810,ou=redirec
1727822 dn: uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727823 nodeID: 75
1727824 userType: R
1727825 cpsPrefix: 0
1727826 qos: 100
1727827 objectClass: top
1727828 objectClass: uniqueID
1727829 lnpPrefix: 33B75
1727830 nodePrefix: B
1727831 netID: 33
1727832 uniqueID: 38512322963
1727833
1727834 dn: lbsID =100,uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727835 publicNumber: 38512322963
1727836 lbsID: 100
1727837 objectClass: top
1727838 objectClass: lbsID
1727839
1727840 dn: lbsID =101,uniqueID=38512322963,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727841 publicNumber: 38512322963
1727842 lbsID: 101
1727843 objectClass: top
1727844 objectClass: lbsID
1727845
1727846 dn: uniqueID=38512322964,ou=redirecting,ou=sipDirektor,dc=ot,dc=hr
1727847 nodeID: 75
1727848 userType: R
1727849 cpsPrefix: 0
1727850 qos: 100
1727851 objectClass: top
1727852 objectClass: uniqueID
1727853 lnpPrefix: 33B75
1727854 nodePrefix: B
1727855 netID: 33
1727856 uniqueID: 38512322964
1727857

On Mon, Aug 31, 2009 at 2:15 PM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
hmm ... the file is 1.7 GB :)


i'l try to post a chunk...

gimme a sec...

T.


On Mon, Aug 31, 2009 at 2:06 PM, Jonathan Clarke <jonathan@phillipoux.net> wrote:
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