Using configuration items in strings

Arran Cudbard-Bell a.cudbardb at
Fri Feb 14 17:56:55 CET 2014

On 14 Feb 2014, at 16:45, Caines, Max <Max.Caines at> 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? (


Arran Cudbard-Bell <a.cudbardb at>
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: <>

More information about the Freeradius-Users mailing list