FreeRadius - Multiple Clients

Casey Daniels mailinglist at cd.kcfam.net
Fri Apr 11 22:57:49 CEST 2014


On 04/11/2014 04:18 PM, Arran Cudbard-Bell wrote:
> On 11 Apr 2014, at 15:42, Casey Daniels <mailinglist at 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...
if your talking about in the dictionary.local

ATTRIBUTE    wifi_key    3000    integer
VALUE        wifi_key        false    0
VALUE        wifi_key        true    1

Then yes, if your talking about something else, then no, and the only 
thing that I could find by searching involved the source code.




More information about the Freeradius-Users mailing list