using SQL, where is Session-Timeout updated?

Rakotomandimby Mihamina mihamina at gulfsat.mg
Fri Sep 18 08:38:59 CEST 2009


Hi all,

Having these _prepaid_ internet access accounts:
SELECT * FROM radcheck;
      +----+----------------+--------------------+------------------+------+
      | id | UserName       | Attribute          | Value            | Op   |
      +----+----------------+--------------------+------------------+------+
      |  1 | fredf          | Cleartext-Password | wilma            | :=   |
      |  2 | barney         | Cleartext-Password | betty            | :=   |
      +----+----------------+--------------------+------------------+------+

And this:
SELECT * FROM radreply;

      +----+------------+-------------------+---------------------------------+------+
      | id | UserName   | Attribute         | Value                           | Op   |
      +----+------------+-------------------+---------------------------------+------+
      [...]
      |  2 | barney     | Session-Timeout   | 500                             | :=   |
      |  3 | fredf      | Session-Timeout   | 250                             | :=   |
      [...]
      +----+------------+-------------------+---------------------------------+------+

In reality I use PGSQL.
Reading the queries in dialup.conf, I dont see any update of radreply in order
to decrease the Session-Timeout.

As far as I know, Session-Timeout should be decreased the number of seconds
the user has been "connected"

Where, in the out of the box PGSQL suggested schema is accounting updating this
Session-Timeout attribute?

Thank you.
Using packaged freeradius and postgresql-8.3 on Debian Lenny.

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



More information about the Freeradius-Users mailing list