On 11/20/10 11:52 AM, Felix Knecht wrote:
It's most certainly an issue with the way we deal with BitString. Th pb
is that the new codec uses the modified version, so if I revert, it will
break the new codec.
I'll try to understand why the old code is not happy with the perfect
code I injected in the kerberos part ;)
My guess is that the getBytes(int xxx) has something to do with it. In
comparison to the code before it adds some additional information in
the [0] index (A first byte containing the number of unused bits is
added) whereas in the old code it just started without additional
information.
Which is wrong. I'm looking at some PDU Stefan captured for me, and the
KdcOptions are really encoded in 5 bytes, which means the byte
containing the unused bytes is present :
0xA0 0x07
0x03 0x05 0x00 0x00 0x00 0x00 0x00
^^^^
the unused bits.
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com