[rlm_rest] do not translate attribute values
aland at deployingradius.com
Fri Dec 18 15:15:47 CET 2020
On Dec 17, 2020, at 10:23 PM, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:
> I've reverted it. Breaking changes in point releases are not appropriate. This would break the majority of the users of rlm_rest who inspect the values of enumeration attributes.
The other argument here is that even if Tunnel-Medium-Type is of type "integer", the values of those integers have no meaning. You're not adding together the values. Instead, the names of the values have meaning.
So the recommendation is for the REST back-end to *not* parse Tunnel-Medium-Type as "integer". Because that doesn't give you any information.
More information about the Freeradius-Users