different python module settings for different virtual hosts
Hello, I use the python module which works fine. Now I have to setup a second virtual host with different configuration of the python module. How I can tell freeradius to have one python module with setup a and one with setup b? Is it possible to import a module with new name? With best regards Christoph -- Linux User Group Wernigerode http://www.lug-wr.de/
Christoph Thielecke wrote:
I use the python module which works fine. Now I have to setup a second virtual host with different configuration of the python module.
How I can tell freeradius to have one python module with setup a and one with setup b?
Is it possible to import a module with new name?
Yes. See raddb/modules/files for an example. In raddb/modules/python: python foo { ... config stuff ... } python bar { ... other config stuff ... } Then in virtual server one use "foo" instead of "python". In virtual server two use "bar" instead of "python". Alan DeKok.
participants (2)
-
Alan DeKok -
Christoph Thielecke