Using configuration items in strings

Caines, Max Max.Caines at wlv.ac.uk
Fri Feb 14 18:20:19 CET 2014


Hi Arran

OK, done that. Thanks

Max

-----Original Message-----
From: freeradius-users-bounces+max.caines=wlv.ac.uk at lists.freeradius.org [mailto:freeradius-users-bounces+max.caines=wlv.ac.uk at lists.freeradius.org] On Behalf Of Arran Cudbard-Bell
Sent: 14 February 2014 16:57
To: FreeRadius users mailing list
Subject: Re: Using configuration items in strings


On 14 Feb 2014, at 16:45, Caines, Max <Max.Caines at wlv.ac.uk> wrote:

> Hi Arran
> 
> I'm afraid not. It doesn't even tell me what that evaluates to:
> 
> ++? if ("${modules.sql.server}" == 'NPS' && !(User-Password && Service-Type == Login-User) && "%{sql:SELECT COUNT(*) FROM identifications WHERE macaddr = '%{Calling-Station-ID}' AND blocked = 1}" >= 1)
> ? Evaluating ("${modules.sql.server}" == 'NPS' ) -> FALSE

Ah, I think that was only fixed in 3.x.x.

Ok localhost is the default for that section, but doesn't explain why it's being used in preference to the real value.

Could you open an issue on GitHub? (bugs.freeradius.org)

-Arran

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

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

-- 
Scanned by iCritical.


More information about the Freeradius-Users mailing list