27 May
2016
27 May
'16
2:16 a.m.
On 27-05-16 08:02, Herwin Weststrate wrote:
The parameter "p" to authenticate is the request key-value store, not the reply. This is documented at http://wiki.freeradius.org/modules/Rlm_python
Recall that, I just read your config snippet in the wrong order. Still, the wiki link explains how to add attributes in rlm_python. But if you just need to fix some url encoding, there is a urlquote xlat that does exactly this. You could replace the python script with just this: update reply { My-Redirection-URL := "http://my.org?clientmac=%{urlquote:Calling-Station-Id}&apmac=%{urlquote:Called-Station-Id}&ssid=Benu_Test" } -- Herwin Weststrate