2017-01-16 03:18:24 +00:00
|
|
|
#
|
|
|
|
# Make sure the PYTHONPATH environmental variable contains the
|
|
|
|
# directory(s) for the modules listed below.
|
|
|
|
#
|
|
|
|
# Uncomment any func_* which are included in your module. If
|
|
|
|
# rlm_python is called for a section which does not have
|
|
|
|
# a function defined, it will return NOOP.
|
|
|
|
#
|
|
|
|
python re2o {
|
|
|
|
module = auth
|
|
|
|
|
2017-09-10 15:33:24 +00:00
|
|
|
python_path = /etc/freeradius/3.0:/usr/lib/python2.7/:/usr/lib/python2.7/dist-packages/:/usr/local/lib/python2.7/site-packages/:/usr/local/lib/python2.7/dist-packages/
|
2017-01-16 03:18:24 +00:00
|
|
|
|
|
|
|
mod_instantiate = ${.module}
|
|
|
|
func_instantiate = instantiate
|
|
|
|
|
|
|
|
mod_detach = ${.module}
|
|
|
|
func_detach = detach
|
|
|
|
|
|
|
|
mod_authorize = ${.module}
|
|
|
|
func_authorize = authorize
|
|
|
|
|
|
|
|
mod_preacct = ${.module}
|
|
|
|
func_preacct = dummy_fun
|
|
|
|
|
|
|
|
mod_accounting = ${.module}
|
|
|
|
func_accounting = dummy_fun
|
|
|
|
|
|
|
|
mod_checksimul = ${.module}
|
|
|
|
func_checksimul = dummy_fun
|
|
|
|
|
|
|
|
mod_pre_proxy = ${.module}
|
|
|
|
func_pre_proxy = dummy_fun
|
|
|
|
|
|
|
|
mod_post_proxy = ${.module}
|
|
|
|
func_post_proxy = dummy_fun
|
|
|
|
|
|
|
|
mod_post_auth = ${.module}
|
|
|
|
func_post_auth = post_auth
|
|
|
|
|
|
|
|
mod_recv_coa = ${.module}
|
|
|
|
func_recv_coa = dummy_fun
|
|
|
|
|
|
|
|
mod_send_coa = ${.module}
|
|
|
|
func_send_coa = dummy_fun
|
|
|
|
}
|