diff --git a/Python/etc/freeradius/modules/ldap b/Python/etc/freeradius/modules/ldap index e651916..86c19e0 100644 --- a/Python/etc/freeradius/modules/ldap +++ b/Python/etc/freeradius/modules/ldap @@ -49,9 +49,8 @@ ldap { # Ceci est fait dans le fichier hints par le matching d'une expression régulière, extrait: #DEFAULT Calling-Station-Id =~ "^(..)-(..)-(..)-(..)-(..)-(..)$" #Calling-Station-Id := `%%{1}:%%{2}:%%{3}:%%{4}:%%{5}:%%{6}` - # On auth dé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=%%{Stripped-User-Name:-%%{User-Name}})(objectclass=machineWifi))" + # On auth fdésormais par login=mac OU hostname (sans le .wifi.crans.org) + filter = "macAddress=%%{Calling-Station-Id:-*}" base_filter = "(objectclass=machineWifi)" # How many connections to keep open to the LDAP server.