On 11 Apr 2014, at 15:42, Casey Daniels <mailinglist@cd.kcfam.net> wrote:
On 04/11/2014 03:03 PM, Alan DeKok wrote:
Please be specific. It matters. If you drop words and use the wrong terminology, we have no idea what you mean. And we're more likely to ignore you. 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"
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.
Did you define wiki_key as an value pair? The server will not automatically add attributes. It should really error out with the invalid comparison... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2