From: Kurt D. Z. <Ku...@Op...> - 2000-05-10 12:30:54
|
At 02:59 AM 5/10/00 -0700, Pythagoras Watson wrote: >This appears to be a decoding error on Net::LDAP's part. When the >operation number (5th byte of response) reaches 128 (0x80), the >resulting message code changes to two. > >To wit: > searching 126 > ... > 30 38 02 01 7F 64 33 04 2F 75 69 64 3D 70 79 2C 08...d3./uid=py, > ... > 0002 02 1: INTEGER = 127 > ... > searching 127 > ... > 30 38 02 01 80 64 33 04 2F 75 69 64 3D 70 79 2C 08...d3./uid=py, > ... > 0002 02 1: INTEGER = -128 > search failed: 2 > 02 01 7F == 127 02 01 80 == -128 02 INTEGER 01 length of 1 xx 2-complement base-256 value From RSA's Layman's Guide: > Some example BER encodings (which also happen to be DER > encodings) are given in Table 3. > > Integer BER encoding > value > 0 02 01 00 > 127 02 01 7F > 128 02 02 00 80 > 256 02 02 01 00 > -128 02 01 80 > -129 02 02 FF 7F Appears to me that your server is broke. |