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

Re: (ITS#4845) Back-perl is non working

Xavier Beaudouin wrote:

>> Unless you can prove that back-perl LDIF parser doesn't work with
>> decently
>> formatted LDIF, I'll consider this ITS closed.
> It *is* buggy proove me the contrary and be not so arrogant.

OK, I'll be less "arrogant".  I've tested back-perl with your script
corrected, and it works exactly as expected both with OpenLDAP 2.3 and
with OpenLDAP 2.4.  What are corrections?


<attr>: <value>

2) eliminate nonsensical "\t" at end of each line.  What is really
offending is the space between "attr" and ":" and the last "\t", while
the other "\t" seem to be tolerated (I suggest to fix str2entry() in
order to detect this malformation as well).

It took me 5 minutes to rebuild with back-perl and find the error, and
it's the first time in my life that I program perl.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it