3.0.x: user-password length decoding sometimes wrong?
Alan DeKok
aland at deployingradius.com
Mon Nov 30 16:53:58 CET 2015
On Nov 30, 2015, at 10:39 AM, Stefano Mason <stefano.mason at eng-mo.it> wrote:
>
> From Brocade switch:
>
> Mon Nov 30 16:33:56 2015 : Debug: (1) Received Access-Request Id 4 from X.X.X.X:10185 to X.X.X.X:1812 length 93
> Mon Nov 30 16:33:56 2015 : Debug: (1) User-Name = "db00000"
> Mon Nov 30 16:33:56 2015 : Debug: (1) User-Password = "db00000\000\000\000\000\000\000\000\000\031"
The brocade switch is broken.
> Resolved in this way:
>
> update request {
> Tmp-String-0 := "%{string:User-Password}"
> User-Password := "%{string:Tmp-String-0}"
> }
That works.
I'll add this to the default policies.
Alan DeKok.
More information about the Freeradius-Users
mailing list