FreeRadius - Multiple Clients

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Apr 11 22:18:37 CEST 2014


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...

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140411/68ec38bb/attachment.pgp>


More information about the Freeradius-Users mailing list