On 29/10/04 1:22 pm, Roman Baumer <[EMAIL PROTECTED]> wrote: > Hi, > > I got this decode error in a search using Net::LDAP: > > decode error 7b<=>30 at > /usr/local/home/dsamgr/mdstools/lib/site_perl/5.6.1/Convert/ASN1/_decode.pm > line 110, <DATA> line 283 > > How do I track down to problem to the source?
It is worth making sure you're using up-to-date versions of Net::LDAP *and* Convert::ASN1. There have been bugs with them and perl's UTF8 support in the past that are hopefully now all fixed. > This happens while parsing the result from the server. That what I > found out so far. > > I will provide you with debugged output as well, but since the problem > happens while searching for a company internal certificate, I have to > rebuild the problem without this. If up-to-date modules don't work, then try calling: $ldap->debug(3); just before you call the code that causes the decode failure. It should print out a hex dump of the received message, which you should send to the list for analysis. Cheers, Chris