directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: 2 issues with Password policy response warnings / types
Date Fri, 22 Jun 2012 21:32:50 GMT
Le 6/22/12 9:09 PM, Carlo.Accorsi@ibs-ag.com a écrit :
> OK, Thank you very much for the clarification.  I really thought I had it right.
> Last question on this.  In the case where the length after the 0x80 is>  1. As below,
where the length is 2.
>
> 30, 9, a0, 4, 80, 2, 0, d0, 81, 1, 2,
> Do you know how to decode the int value?
Just for the record, an integer above 0x7F and below7FFF will be encoded 
on 2 bytes. If the higher bit is 0, then the value is positive.

>   I'm looking for 208, which is  0xd0 but not sure what to do with the other 0x00 byte?
It's just there because you want a positive integer above 0x7F. Would 
you have 0x01 0xD0, it would be a negative value (-47).


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Mime
View raw message