3.0.x: user-password length decoding sometimes wrong?
aland at deployingradius.com
Mon Nov 30 17:34:01 CET 2015
On Nov 30, 2015, at 11:30 AM, Stefano Mason <stefano.mason at eng-mo.it> wrote:
> Thanks Alan, but the alternative isn't good in all situation. When I used the previous code the regex fail with all the password that end with zero, like: mikemouse00.
The code I posted converts the User-Password to an *octet* string in Tmp-Octets-0. So if the ASCII version ends with "00", the octet string will end with "3030".
More information about the Freeradius-Users