parameter "OR" on attribute "Calling-station-id" mysql

Deivison Moraes deivisonmoraes at mutumnet.com.br
Mon Apr 7 16:51:34 CEST 2014


Hi,

How I set two different macs on attribute calling station id in base mysql?

I need insert 1 more mac with attribute Calling-Station-ID.

mysql> SELECT * FROM radcheck WHERE UserName = 'deiveson';
+--------+----------+--------------------+----+-------------------+
| id     | UserName | Attribute          | op | Value             |
+--------+----------+--------------------+----+-------------------+
| 292359 | deiveson | user-password      | == | 123               |
| 292360 | deiveson | Calling-Station-ID | == | 78:44:76:0D:34:FB |
+--------+----------+--------------------+----+-------------------+

I tested ":=" and "+=", but don't worked fine, with these options is
accepting any mac.

Anyone know how to make a "OR" for this situation?


Tks

Deivison Moraes




More information about the Freeradius-Users mailing list