I'm running a freeradius v3 instance with an LDAP backend for the authentication.
The backend is working fine but I'v issues with my users.conf file.
In this file, I'm trying to implement some rules to allow a group A to connect to the SSID A and to allow a group B to connect to SSID B, denying all the rest. Unfortunately that does not work so far (everyone is allowed to connect if the credentials are valid).
If anyone has any idea on what should the config looks like, that would help me a lot as I'v been struggling with this issue for some days :(
users.conf:
DEFAULT LDAP-Group == "group1", Called-Station-Id == "b0-aa-77-f0-6b-f8:SSID1", Auth-Type := LDAP
DEFAULT LDAP-Group == "group2", Called-Station-Id == "b0-aa-77-f0-6b-f8:SSID2", Auth-Type := LDAP