--Apple-Mail-13-1003230263 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Hello,
By the way, I still don't understand why this kind of script was working on openldap 2.1 and 2.2.... ? Does str2entry() is more picky since openldap 2.3 ?
The fact that something __worked__ doesn't mean it was correct. That code working was apparently the consequence of two bugs canceling each other.
I totaly agree with you :)
str2entry() is not just more picky: it has been __entirely__ rewritten, to reduce the performance impact of the related memory allocation, which guaranteed orders of magnitude of improvement from 2.0 to 2.3 (the amount of fragmented malloc()s was a considerable bottleneck). Redesigning code for performance, as well as for stricter adherence to specs, is part of its natural evolution.
Again I agree with you. I am also maintainer of some opensource project and sometimes we need to recode something that is slow to have better performances.
No surprise that such a careful redesign resulted, as a side effect, in a stricter compliance with RFC2589. The fact that nobody complained up to now indicates that strict adherence to specs usually helps in code portability.
Yeah. But I didn't know that RFC2589 is used inside back_<whatever>. Now I am aware of that and I really thanks about your help and your kindness to take some time to find where my error was.
Maybe a little not in slapd-perl man page that entry sent to openldap have to conform to RFC2589 should be a point to avoid such loss of time.
Thanks again, and this bug is closed for me.
/Xavier --Apple-Mail-13-1003230263 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILJjCCAz8w ggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0 ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcx KDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0 ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxA dGhhd3RlLmN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