wip: auth dynamique des clients (nas) radius
This commit is contained in:
parent
4f73302b13
commit
27c3d1d842
2 changed files with 63 additions and 0 deletions
35
freeradius/rlm_python_nas.conf
Normal file
35
freeradius/rlm_python_nas.conf
Normal file
|
@ -0,0 +1,35 @@
|
|||
# Configuration for the Python module.
|
||||
#
|
||||
#
|
||||
|
||||
python crans_nas {
|
||||
mod_instantiate = freeradius.auth
|
||||
func_instantiate = instantiate
|
||||
|
||||
# Spécifique NAS : rempli le mdp
|
||||
mod_authorize = freeradius.auth
|
||||
func_authorize = authorize_nas
|
||||
|
||||
# Que faire avant de quitter
|
||||
mod_detach = freeradius.auth
|
||||
func_detach = detach
|
||||
|
||||
# Le reste est dumb et inutile
|
||||
mod_post_auth = freeradius.auth
|
||||
func_post_auth = dummy_fun
|
||||
|
||||
mod_accounting = freeradius.auth
|
||||
func_accounting = dummy_fun
|
||||
|
||||
mod_pre_proxy = freeradius.auth
|
||||
func_pre_proxy = dummy_fun
|
||||
|
||||
mod_post_proxy = freeradius.auth
|
||||
func_post_proxy = dummy_fun
|
||||
|
||||
mod_recv_coa = freeradius.auth
|
||||
func_recv_coa = dummy_fun
|
||||
|
||||
mod_send_coa = freeradius.auth
|
||||
func_send_coa = dummy_fun
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue