[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Issues with OpenLDAP and Net::LDAP



At 06:42 PM 7/13/00 -0700, Tom Murray wrote:
>I've run into a troublesome issue using Net::LDAP (using v0.19 and other
>versions with OpenLDAP (was using 1.2.9, also tried 1.2.11).

I just ran an encode on both 1.2.11 and 2.0-devel using
liblber/etest.c and dumping the DER of
  ber_printf(ber, "{ii}", 127, 128 );

In both cases, I got (less the sequence):
        02 01 7f 02 02 00 80

That INTEGER len=1 value=127 followed by len=2 value=128.
These are correct.

> With a few data dumps and tracing, I found that the response
> to message 128 came back with an ID of -128.

Are you sure the client sent ID=128 and not ID=-128?
You should check the requests and responses.

Kurt