Error in SQL statement expansion? And how to correct it?

Alan DeKok aland at deployingradius.com
Fri Jan 9 22:50:19 CET 2009


Hanno Schupp wrote:
> I found the following in my freeradius 2.1.0 debug on Ubuntu 8.10 for my
> simultaneous use check:

  You have edited the default configuration and broken it.

> Sat Jan 10 10:21:47 2009 : Debug:       expand: SELECT
> COUNT(*)                              FROM
> radacct                              WHERE username =
> '%{SQL-User-Name}'                              AND acctstoptime IS
> NULL                              AND callingstationid <>
> '{%Calling-Station-Id}' -> SELECT COUNT(*)                             

  This is not the correct syntax for expanding a variable.  See "man
unlang".

  You want %{Calling-Station-Id}, not {%Calling-Station-Id}.

  Alan DeKok.



More information about the Freeradius-Users mailing list