--On Wednesday, June 10, 2020 6:07 PM -0700 Scott Classen <[email protected]> wrote:

5ee172af str2entry: entry -1 has no dn
slapadd: could not parse entry (line=1500)
_#################### 100.00% eta   none elapsed            none fast!

Closing DB…

Slapadd claims to have completed 100%, but also complains about entry -1
having no dn:

It's not "entry -1" it's that there's an entry that has no DN creating an error of -1. The bad/problematic entry would appear to be at the very end of the LDIF file.

I would suggest you add "-d -1" to the options you pass slapadd (That's a minus one, not a one). The output should give you a clue to what line(s) are problematic.

Regards,
Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to