Hi everyone,<br>I'm trying to use rlm_python to intergrate with my own authentication backend, but there's so little document about rlm_python. I even cannot find how to specify the path to the python module.<br><br>
Can anybody give me a hint?<br><br> Module: Instantiating module "python" from file /etc/freeradius/modules/python<br>python_init done<br> python {<br> mod_instantiate = "radiusd_test"<br> func_instantiate = "instantiate"<br>
mod_authorize = "radiusd_test"<br> func_authorize = "authorize"<br> mod_accounting = "radiusd_test"<br> func_accounting = "accounting"<br> mod_pre_proxy = "radiusd_test"<br>
func_pre_proxy = "pre_proxy"<br> mod_post_proxy = "radiusd_test"<br> func_post_proxy = "post_proxy"<br> mod_post_auth = "radiusd_test"<br> func_post_auth = "post_auth"<br>
mod_recv_coa = "radiusd_test"<br> func_recv_coa = "recv_coa"<br> mod_send_coa = "radiusd_test"<br> func_send_coa = "send_coa"<br> mod_detach = "radiusd_test"<br>
func_detach = "detach"<br> }<br>rlm_python:python_load_function: module 'radiusd_test' is not found<br>rlm_python:EXCEPT:<type 'exceptions.ImportError'>: No module named radiusd_test<br>
rlm_python:python_load_function: failed to import python function 'radiusd_test.instantiate'<br>/etc/freeradius/modules/python[1]: Instantiation failed for module "python"<br>