checkval and != op
Christian Zoffoli
czoffoli at xmerlin.org
Tue Jun 22 13:51:02 CEST 2010
Il 22/06/2010 08:08, Alan DeKok ha scritto:
> Christian Zoffoli wrote:
>> now I've fixed my problem in this way
>
> I'm not sure why.
>
> In all of this, you haven't explained what you want to do. You've
> asked about the SQL and checkval modules. But you haven't given a
> *problem* you would like to solve.
I want the users in some groups to login only on the machine with a
given mac address and I want the users in the group wireless to use all
the machines with the exception of the previous mac address.
raggroupcheck
+----+-----------+--------------------+----+-------------------+
| id | groupname | attribute | op | value |
+----+-----------+--------------------+----+-------------------+
| 6 | wired | Calling-Station-Id | == | 00-22-15-16-35-B0 |
| 22 | wireless | Calling-Station-Id | != | 00-22-15-16-35-B1 |
+----+-----------+--------------------+----+-------------------+
I've just made a minor change on the ulang script and the DB (op := to ==)
Best regards,
Christian
More information about the Freeradius-Users
mailing list