[freeradius] ldap/wifi: on identifie par mac
This commit is contained in:
parent
4ff87822c7
commit
1e14765434
1 changed files with 2 additions and 3 deletions
|
@ -49,9 +49,8 @@ ldap {
|
||||||
# Ceci est fait dans le fichier hints par le matching d'une expression régulière, extrait:
|
# Ceci est fait dans le fichier hints par le matching d'une expression régulière, extrait:
|
||||||
#DEFAULT Calling-Station-Id =~ "^(..)-(..)-(..)-(..)-(..)-(..)$"
|
#DEFAULT Calling-Station-Id =~ "^(..)-(..)-(..)-(..)-(..)-(..)$"
|
||||||
#Calling-Station-Id := `%%{1}:%%{2}:%%{3}:%%{4}:%%{5}:%%{6}`
|
#Calling-Station-Id := `%%{1}:%%{2}:%%{3}:%%{4}:%%{5}:%%{6}`
|
||||||
# On auth désormais par login=mac OU hostname (sans le .wifi.crans.org)
|
# On auth fdésormais par login=mac OU hostname (sans le .wifi.crans.org)
|
||||||
filter = "(&(macAddress=%%{Calling-Station-Id:-*})(|(macAddress=%%{Stripped-User-Name:-%%{User-Name}})(host=%%{Stripped-User-Name:-%%{User-Name}}.wifi.crans.org)))"
|
filter = "macAddress=%%{Calling-Station-Id:-*}"
|
||||||
#filter = "(&(macAddress=%%{Stripped-User-Name:-%%{User-Name}})(objectclass=machineWifi))"
|
|
||||||
base_filter = "(objectclass=machineWifi)"
|
base_filter = "(objectclass=machineWifi)"
|
||||||
|
|
||||||
# How many connections to keep open to the LDAP server.
|
# How many connections to keep open to the LDAP server.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue