<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.4.4">
</HEAD>
<BODY>
Il giorno mer, 05/06/2013 alle 09.14 -0400, Alan DeKok ha scritto:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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.
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
Hello,<BR>
<BR>
Sorry, what do you mean with "The operators are the same" ?<BR>
I put "==" because /etc/freeradius/users use that one<BR>
<A HREF="mailto:root@tango">root@tango</A>:~# grep Huntgroup-Name /etc/freeradius/users <BR>
#swilson Service-Type == Framed-User, Huntgroup-Name == "alphen"<BR>
#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "alphen"<BR>
#DEFAULT Service-Type == Framed-User, Huntgroup-Name == "delft<BR>
<BR>
And because "==" works in radcheck while ":=" doesn't.<BR>
<BR>
Also, if i understand it correctly, it makes sense to me since "==" is a filtering <BR>
operator while ":=" add the attribute to the list for further checking <BR>
<BR>
Anyway, i've updated the record above and putting ":=" and it doesn't work.<BR>
<BR>
Is there anything else wrong?<BR>
<BR>
Thank You
</BODY>
</HTML>