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. > I have just noticed a difference in the debug output for the last > record decoded: > > After the Hex: > Net::LDAPS=HASH(0x1df866c) received: > > 00 84 00 00 02 73 02 01 71 64 84 00 00 02 6A 04 .....s..qd....j. > (etc...) > > The ASN.1 starts with: > > 0000 627: [UNIVERSAL 0] > 0006 : 02 01 71 64 84 00 00 02 6A 04 66 43 4E 3D 44 4C > ..qd....j.fCN=DL > > The [UNIVERSAL 0] is different, all previous records looked like: > > 0000 688: SEQUENCE { > 0006 1: INTEGER = 113 > 0009 679: [APPLICATION 4] { > > > 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? Cheers, Chris