Il giorno mer, 05/06/2013 alle 09.14 -0400, Alan DeKok ha scritto: > Marco Marzetti wrote: > > mysql> SELECT * FROM radgroupcheck; > > +----+-----------+----------------+----+----------+ > > | id | groupname | attribute | op | value | > > +----+-----------+----------------+----+----------+ > > | 1 | TECNICI | Huntgroup-Name | == | APPARATI | > > +----+-----------+----------------+----+----------+ > > Read doc/rlm_sql. Or "man unlang". The operators are the same. > > You want ":=", not "==". > > Alan DeKok.
Hello, Sorry, what do you mean with "The operators are the same" ? I put "==" because /etc/freeradius/users use that one root@tango:~# grep Huntgroup-Name /etc/freeradius/users #swilson Service-Type == Framed-User, Huntgroup-Name == "alphen" #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen" #DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft And because "==" works in radcheck while ":=" doesn't. Also, if i understand it correctly, it makes sense to me since "==" is a filtering operator while ":=" add the attribute to the list for further checking Anyway, i've updated the record above and putting ":=" and it doesn't work. Is there anything else wrong? Thank You
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html