On Thu, May 18, 2006 12:18 pm, Chris Ridd wrote: > On 15/5/06 3:26, Si Smith <[EMAIL PROTECTED]> wrote: > >> As I mentioned in a slightly earlier email, I am using the control >> Net::LDAP::Control::Paged > > I wasn't sure if you were using paged results or VLV. >
>> 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... I do not know what debug data from Net::SSLeay look like, but try setting $Net::SSLeay::trace = 2; or maybe = 3. I hope it will provide some dump of the data. This would at least tell us what data Convert::ASN1 is seeing (I hope) and if the bug is in there or somewhere else. > What version of Convert::ASN1 are you using? And what version of perl? Graham.