--Apple-Mail-8-1002308974 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Hello,
Le 26 f=E9vr. 07 =E0 09:35, Pierangelo Masarati a =E9crit :
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>
- 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.
Thanks to helped me on that.
You can close the bug and sorry to have bother you for such "easy" fix.
By the way, I still don't understand why this kind of script was =20 working on openldap 2.1 and 2.2.... ?
Does str2entry() is more picky since openldap 2.3 ?
/Xavier=
--Apple-Mail-8-1002308974 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILJjCCAz8w ggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcx KDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxA dGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzA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