[rlm_rest] do not translate attribute values

Michael Schneider michael.schneider at onway.ch
Fri Dec 18 00:25:38 CET 2020


Hi Alan

> On 17 Dec 2020, at 21:47, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Dec 17, 2020, at 3:11 PM, Michael Schneider <michael.schneider at onway.ch> wrote:
>> I am using FreeRADIUS version 3.0.21. The server works as expected, but the generated REST request is weird in my opinion. The two attributes "Tunnel-Type (64)" and "Tunnel-Medium-Type (65)" are particularly special. The value type of them is an integer and this is also signaled via REST, but the value provided is the string representation of the integer.
> 
>  I've pushed a fix for v3.0.x.  It always prints the integer value, and does not print the name.

Thanks for the fix, but unfortunately it has no effect on the generated JSON.

- Michael


More information about the Freeradius-Users mailing list