Re: SQL statement in radcheck

2008-09-04 Thread Alan DeKok
Ljupco Vangelski wrote: The question is whether I can use sql in check items at all? Not like that. (1) For one attribute (Reply-Message), the runtime variable is converted into it's runtime value, for the other one (Filter-Id) it just returns the text. The Reply-Message attribute is

Re: SQL statement in radcheck

2008-09-03 Thread Ljupco Vangelski
Alan DeKok напиша: Ljupco Vangelski wrote: I'm trying to allow a user to log in from few Calling-Station-Ids, but to load them at run-time (read them from mysql table). For that I'm trying to use sql statement in radcheck, but it doesn't seem to be working. Here is a simplified example

SQL statement in radcheck

2008-09-02 Thread Ljupco Vangelski
Hello, I'm trying to allow a user to log in from few Calling-Station-Ids, but to load them at run-time (read them from mysql table). For that I'm trying to use sql statement in radcheck, but it doesn't seem to be working. Here is a simplified example (mysql, table radcheck): UserName

Re: SQL statement in radcheck

2008-09-02 Thread Alan DeKok
Ljupco Vangelski wrote: I'm trying to allow a user to log in from few Calling-Station-Ids, but to load them at run-time (read them from mysql table). For that I'm trying to use sql statement in radcheck, but it doesn't seem to be working. Here is a simplified example (mysql, table radcheck