No, I conjured it from scratch which makes me think I’ve probably inadvertently introduced
an LDIF formatting error.
Weird thing is that I can start the server and authenticate against it… so it works… I’m
just worried about the error.
Scott
On Jun 10, 2020, at 5:39 PM, Nick Folino <nick(a)folino.us>
wrote:
Did you export it with slapcat?
On Wed, Jun 10, 2020 at 8:24 PM Scott Classen <sclassen(a)lbl.gov
<mailto:sclassen@lbl.gov>> wrote:
Heck if I know
# wc -l slapd.ldif
160 slapd.ldif
> On Jun 10, 2020, at 5:23 PM, Nick Folino <nick(a)folino.us
<mailto:nick@folino.us>> wrote:
>
> What's on line 1500?
>
> On Wed, Jun 10, 2020 at 8:08 PM Scott Classen <sclassen(a)lbl.gov
<mailto:sclassen@lbl.gov>> wrote:
> 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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>