[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openldap problem with testing



I tried doing it one at a time and then I get the same error diffrent line

slapadd: could not add entry dn="o=mystikalphoenix,c=us" (line=10)

I go into VI and go to line 10 and VI tells me I only have 9lines which is true.
So the first blank line would be line 10 and that is where slapdadd is erroring
out, even though there really is no line 10
nate wrote:

> Quenten Griffith said:
> > I am trying to import my database with a fresh install of openldap from
> > testing and I get an error that it can't parse line 4 when I do a
> > slapadd -l basic.ldif. Line 4 is a blank line, so i removed all the blank
> > lines and then it complains about it can't parse line 57 and the file
> > only has 56 lines, so when it finds a blank line it errors out.
>
> > dn: ou=People, o=mystikalphoenix,c=us
> > objectClass: organizationalUnit
> > ou: People
> > objectClass: organizationalUnit
> > ou: People
>
> this looks to be a problem ..this is the 4th entry so maybe
> it is referring to that..openldap can be strange when it spits
> out errors.
>
> if fixing that doesn't solve the problem I reccomend adding the
> entries one at a time(just make them seperate files and slapadd
> each in turn).
>
> nate
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: