On 19/5/06 1:44, Simon P Smith <[EMAIL PROTECTED]> wrote: > Chris Ridd wrote: >> On 15/5/06 3:26, Si Smith <[EMAIL PROTECTED]> wrote: > >>> >>> >>> So instead of starting "30 84 00 00" the bad record >>> starts "00 84 00 00". >>> >>> Does this make any sense? >> >> It does, and it explains the LDAP_DECODING_ERROR. Now, why is it >> happening... >> >> What version of Convert::ASN1 are you using? >> > > Perl 5.8.6 ( ActivState Win32 811 on one machine 816 on another ) > Convert::ASN1 Version 0.18 ( CVS 1.29 ) > (ahh, I see that there is a ppd for 0.20 I guess this is > a recommended action before carrying on?)
Yeah, there were some bugs fixed there relating to UTF-8 and 'bytes', which *could* be what you're seeing. Graham's suggestion of getting Net::SSLeay's idea of the bytes is an excellent one too. Cheers, Chris