Discussion:
Passing Run-time variables in rlm_python module
work vlpl
2018-10-12 16:10:51 UTC
Permalink
Hi,

I want to pass run-time variable
(https://wiki.freeradius.org/config/run_time_variables) into python
module.
In unlang run-time variables can be referenced without any attribute
lists, it looks like they stored in requests list, but it is not, so
they are not available in python module.
And because run-time variables does not support assignment, this
unlang construction is not possible

update request {
Packet-Type := "%{Packet-Type}"
}

I define custom attribute and assign run-time variable value to it.
Is there other way to pass run-time variable into python module?

--
Vladimir
-
List info/subscribe/unsubscrib
Alan DeKok
2018-10-12 16:12:20 UTC
Permalink
Post by work vlpl
I define custom attribute and assign run-time variable value to it.
Is there other way to pass run-time variable into python module?
No.

Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.

Loading...