On 14 Feb 2014, at 16:45, Caines, Max <Max.Caines@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@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2