Access Request Configuraton Attributes in Module-Configuration

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Wed Sep 9 21:53:16 CEST 2020


Hi everyone

I wonder if I can access the configuration attributes of a request in
the module configuration.

I.e. in the code a configuration attribute is set like this:

   pair_make_config("Custom-My-Attrib", "Some value, T_OP_ADD);

It would be nice if i could access this in a configuration file, so it
can be expanded in a string:

my_module {

    some_param = "foobar-%{???:Custom-My-Attrib}"

}

Is something like this possible?

Cheers
T



More information about the Freeradius-Users mailing list