[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: lCould not parse line... slapadd



I am sorry I did not get you. You want me to post the whole ldiff file
or the output of slapadd using the debug switch.  Below is the last
line of slapadd output when run with debug switch.


str2entry: entry -1 has multiple DNs "o=trac" and "cn=Administrators,o=trac"
slapadd: could not parse entry (line=1344465).

Tha last enttry of ldiff file is :

#id=0000b263
dn: uid=larry4372,o=trac
subscribedate: 2007-09-27 11:20
sn: Stern
uid: larry4372
tracfedquota: 20000
mail: lmstern@verizon.net
lastModifiedTime: 2007-09-27 11:20
maxqueries: 20
affiliation: lawyer
clientorg: lawyer
sitemaxusers: 1
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: tracperson
telephoneNumber: 212-925-6863
termsagree: 1
lastModifiedBy: larry4372
middlename:: IA==
cn: Lawrence Stern
userPassword:: Nzg5OQ==
regsite: WEB
postalAddress: $$$
givenName: Lawrence
clearpassword: 7899
mailPreferenceOption: 1
regdate: 2007-09-27 11:20
structuralObjectClass: tracperson
entryUUID: dc5ec5a6-0158-102c-976b-9052d08550b0
creatorsName: cn=nsadmin
createTimestamp: 20070927152001Z
entryCSN: 20070927152001Z#000001#00#000000
modifiersName: cn=nsadmin
modifyTimestamp: 20070927152001Z

Regards


On 10/12/07, Pierangelo Masarati <ando@sys-net.it> wrote:
> Naufal Sheikh wrote:
> > Gavin,
> >
> > Sorry for late reply, got stuck. Following is the error message I am
> getting.
> >
> > slapadd: could not parse entry (line=1344465)
> >
> > line 134465 is the last line in the ldiff file and it says:
> >
> > modifyTimestamp: 20070927152001Z
>
>
> slapadd up to OpenLDAP 2.3 misleadingly reports the last line of an
> entry for parse errors occurring anywhere within that entry.  Please
> post the whole entry.
>
> p.
>
>
>
> Ing. Pierangelo Masarati
> OpenLDAP Core Team
>
> SysNet s.r.l.
> via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> ---------------------------------------
> Office:  +39 02 23998309
> Mobile:  +39 333 4963172
> Email:   pierangelo.masarati@sys-net.it
> ---------------------------------------
>
>
>