:=, == and =

Ivan Kalik tnt at kalik.net
Fri Jul 24 10:53:17 CEST 2009


> - what is the difference between ':=', '==' and '='

You also have a nice wiki page about it:

http://wiki.freeradius.org/Operators

> After that, I will switch to PG-SQL, and looking at:
> http://wiki.freeradius.org/SQL_HOWTO, must I have somthing like:
>
>       +----+----------------+--------------------+------------------+------+
>       | id | UserName       | Attribute          | Value            | Op
> |
>       +----+----------------+--------------------+------------------+------+
>       |  1 | fredf          | Cleartext-Password | wilma            | :=
> |
>       |  2 | barney         | Cleartext-Password | betty            | :=
> |
>       |  2 | dialrouter     | Cleartext-Password | dialup           | :=
> |
>       |    | fredf          | Simultaneous-Use   | 1                | :=
> |
>       |    | barney         | Simultaneous-Use   | 1                | :=
> |
>       |    | dialrouter     | Simultaneous-Use   | 1                | :=
> |
>       +----+----------------+--------------------+------------------+------+
>
> In the database?
>
> [1] In order to _help_ the Access controller to forbid simultneous login

Yes, things from the check line go into radcheck table, reply items to
radreply table.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list