Hello,
I’m setting up a new openldap(2.4.50) server and am running into this odd error message when importing my initial slapd.ldif file:
# slapadd -v -n 0 -F slapd.d -l slapd.ldif added: "cn=config" (00000001) added: "cn=module{0},cn=config" (00000001) added: "cn=schema,cn=config" (00000001) added: "cn={0}core,cn=schema,cn=config" (00000001) added: "cn={1}cosine,cn=schema,cn=config" (00000001) added: "cn={2}inetorgperson,cn=schema,cn=config" (00000001) added: "cn={3}rfc2307bis,cn=schema,cn=config" (00000001) added: "cn={4}openldap,cn=schema,cn=config" (00000001) added: "cn={5}ppolicy,cn=schema,cn=config" (00000001) added: "cn={6}misc,cn=schema,cn=config" (00000001) added: "olcDatabase={-1}frontend,cn=config" (00000001) added: "olcDatabase={1}mdb,cn=config" (00000001) added: "olcOverlay={0}ppolicy,olcDatabase={1}mdb,cn=config" (00000001) added: "olcOverlay={1}memberof,olcDatabase={1}mdb,cn=config" (00000001) added: "olcOverlay={2}refint,olcDatabase={1}mdb,cn=config" (00000001) 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:
Any advice?
Cheers, Scott
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Scott Classen, Ph.D. ALS-ENABLE TomAlberTron Beamline 8.3.1 SIBYLS Beamline 12.3.1 Advanced Light Source Lawrence Berkeley National Laboratory 1 Cyclotron Rd MS6R2100 Berkeley, CA 94720 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~