Simultaneou-Use := 1

Rakotomandimby Mihamina mihamina at gulfsat.mg
Fri Sep 11 15:08:46 CEST 2009


Hi all,

Using Freeradius v2
We use only PGSQL (no "users" file) and a custom schema
Just an example:

   authorize_check_query = "SELECT * FROM f_authorize_check_query2('%{SQL-User-Name}','%{User-Password}' ...."
  => We play much with FUNCTIONs in PGSQL.
Because of legacy application requiring exotic schema, we are obliged to play with it.

The problem is I cannot have

+----+----------+--------------------+----+-------+
| id | UserName | Attribute          | op | Value |
+----+----------+--------------------+----+-------+
| 1  | bartek   | Cleartext-Password | := | 1234  |
| 3  | bartek   | Simultaneous-Use   | := | 1     |
+----+----------+--------------------+----+-------+

With our schema, but only
+----+----------+--------------------+----+-------+
| id | UserName | Attribute          | op | Value |
+----+----------+--------------------+----+-------+
| 1  | bartek   | Cleartext-Password | := | 1234  |
+----+----------+--------------------+----+-------+

Where should i specify a default "Simultaneous-Use := 1" in a file, so that
It wouldn't be mandatory to return it from the authorize_check_query?


-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 34 29 155 34



More information about the Freeradius-Users mailing list