FreeRadius - Multiple Clients
Alan DeKok
aland at deployingradius.com
Fri Apr 11 23:05:11 CEST 2014
Casey Daniels wrote:
> Right above the EAP entry in the authorize section I put this code
>
> If (wifi_key != "true") {
> reject
> }
>
> my user file looks like this
>
> steve Cleartext-Password := "mypassword", wifi_key := "true"
Run the server in debug mode, as suggested in the FAQ, "man" page, web
pages, and daily on this list. When you don't do that, you waste
everyones time.
> the issue from the server logs appears that the (wifi_key != "true") is
> always evaluating to be true, thus is always rejecting the packet. I
> believe the issue is that I'm missing is the server isn't evaluating the
> value of the wifi_key in the user file.
It is. It's running "files" AFTER the code you added in the
"authorize" section.
If you had run the server in debug mode, you would have seen that.
Or, read the "authorize" file. And check that "files" is happening
after the code you added.
Alan DeKok.
More information about the Freeradius-Users
mailing list