freeradius 3.1 sqlcounter[41]: Attribute Daily-Session-Time already defined with different flags

mpajarin plexus mpajarin.plexus at gmail.com
Thu Mar 2 10:47:21 CET 2017


Hi.
I mean   i dont know how or where can and where can´t  to call
 %{sql_instance-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.






Miguel Pajarín Presas


*Departamento de Sistemas *

*Email: *miguel.pajarinpresas at plexus.es

[image: logoPlexus]        Plexus, S.L. 2016 ®

Rúa Jose Villar Granjel 22-24

Parque Empresarial Boisaca

CP: 15890

Santiago de Compostela – A Coruña

►*Telefono:* 902 998 005

► *Fax:* 902 995 280

►* Web: *www.plexus.es

2017-03-02 0:09 GMT+01:00 Alan DeKok <aland at deployingradius.com>:

> On Mar 1, 2017, at 5:29 PM, mpajarin plexus <mpajarin.plexus at gmail.com>
> wrote:
> >
> >>
> >> Hi again and thanks for he answer.
> >>
> >> The reason im using 3.1 is a bug, if dont remember bad, you ( Alan )
> fixed
> >> on this version.
> >> It´s about  {Sql-group}  can´t be called beyond a sql instance on
> >> authorize { } , instead of {Sql-User-name}, it  can be called on, for
> >> example  post-auth secction
>
>   I'm not sure what that means.
>
>   You should be able to use SQL-Group with any instance of SQL.  Just use
> "instance-SQL-Group", where "instance" is the instance name.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html


More information about the Freeradius-Users mailing list