Ajout de la règle pour federez wifi, if @ in id
This commit is contained in:
parent
edde503c9e
commit
7dac00f8b3
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,14 @@
|
||||||
# need to setup hints for the remote radius server
|
# need to setup hints for the remote radius server
|
||||||
server wifi {
|
server wifi {
|
||||||
authorize {
|
authorize {
|
||||||
|
if (User-Name !~ /crans\.org$/) {
|
||||||
|
if (User-Name =~ /^(.*)@(.*)/) {
|
||||||
|
update control {
|
||||||
|
Proxy-To-Realm := 'FEDEREZ'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# The preprocess module takes care of sanitizing some bizarre
|
# The preprocess module takes care of sanitizing some bizarre
|
||||||
# attributes in the request, and turning them into attributes
|
# attributes in the request, and turning them into attributes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue