2 Mar
2017
2 Mar
'17
8:07 a.m.
On Mar 2, 2017, at 4:47 AM, mpajarin plexus <mpajarin.plexus@gmail.com> wrote:
I mean i dont know how or where can and where can´t to call %{sql_instance-SQL-Group}
You can use it like SQL-Group.
Making test , for example on accounting secction
if (1 ==1 ){ update control {
&Foo-Bar-Baz := "%{sql_instance:SELECT groupname FROM radusergroup WHERE username = '%{sql_instance-SQL-Group}' ORDER BY priority ;}"
} }
I suppose that if account requests doesn´t include the group, o i must to calculate again by a sql sentence.
The accounting requests don't include the group. And why are you SELECTing from the radusergroup table manually? The SQL module already does that for you. I just don't understand what you're trying to do. Alan DeKok.