radius: fonction get_prise
This commit is contained in:
parent
4ce302b699
commit
bbb12b733f
2 changed files with 47 additions and 24 deletions
|
@ -11,25 +11,27 @@ python crans_wifi {
|
|||
func_authorize = wifi_authorize
|
||||
|
||||
# Renseigne le vlan
|
||||
# remplacer par dummy_fun pour ignorer le tagging de vlan
|
||||
mod_post_auth = freeradius.auth
|
||||
func_post_auth = post_auth
|
||||
|
||||
# Le reste est dumb et inutile
|
||||
mod_accounting = freeradius.auth
|
||||
func_accounting = accounting
|
||||
|
||||
mod_pre_proxy = freeradius.auth
|
||||
func_pre_proxy = pre_proxy
|
||||
|
||||
mod_post_proxy = freeradius.auth
|
||||
func_post_proxy = post_proxy
|
||||
|
||||
mod_recv_coa = freeradius.auth
|
||||
func_recv_coa = recv_coa
|
||||
|
||||
mod_send_coa = freeradius.auth
|
||||
func_send_coa = send_coa
|
||||
|
||||
# Que faire avant de quitter
|
||||
mod_detach = freeradius.auth
|
||||
func_detach = detach
|
||||
|
||||
# Le reste est dumb et inutile
|
||||
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