On 3 Jul 2008, at 20:20, Daniel Stutz wrote:
Hi all,
I am trying to implement an Net::LDAP::Extension and hit the wall,
when the first LDAPResponse from the server arrives.
ASN1::_decode returns an error, when it is called on that
LDAPResponse, which should contain an ExtendedResponse.
I extended Net::LDAP to write the pdu to a file before it calls
LDAPResponse->decode on it.
The pdu is attached. As well as the ASN1 extracted from
Net::LDAP::ASN and a small scrip, that also can't parse the pdu.
Kind regards,
Daniel
0xys
2.16.840.1.113719.1.27.100.81K0Efc9Hm
R>=´7!à
§o=MyQAcn=edir_test1,o=MyQALDAPRequest ::= SEQUENCE {
It seems to have got included inline as text, and mangled. If you
simply call $ldap->debug(2) before retrieving your result, can you
post the hex?
Cheers,
Chris