On Feb 11, 2022, at 12:59 PM, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On Feb 11, 2022, at 9:41 AM, Alan DeKok <aland@deployingradius.com> wrote:
On Feb 10, 2022, at 11:06 AM, amine mustapha smaali <amine_mustapha@hotmail.com> wrote:
FYI, I used map function given in json module but I'm getting the following error when I start my freeradius server. here is what I tried in my json module:
map json "%(rest:POST http://172.26.111.160/rest/hss/wlan/getAuthenticationVector/%{User-Name})" {
You don't put that into the json module. You put it into a processing section. i.e. something in sites-enabled/
typo, should be map json "%(rest:POST http://172.26.111.160/rest/hss/wlan/getAuthenticationVector/%{session-state.Permanent-Identity})" { Stupid fiddly brackets. -Arran