using SQL, where is Session-Timeout updated?

Rakotomandimby Mihamina mihamina at gulfsat.mg
Fri Sep 18 11:34:09 CEST 2009


09/18/2009 11:49 AM, Ivan Kalik:
> You need sqlcounter (counter.conf) for that.

Found. but no UPDATE query in it.

> You list counter check item in radcheck/radgroupcheck

Humm.... I dont really understand:
                                     Table "public.radcheck"
     Column   |          Type          |                       Modifiers
   -----------+------------------------+-------------------------------------------------------
    id        | integer                | not null default nextval('radcheck_id_seq'::regclass)
    username  | character varying(64)  | not null default ''::character varying
    attribute | character varying(64)  | not null default ''::character varying
    op        | character(2)           | not null default '=='::bpchar
    value     | character varying(253) | not null default ''::character varying

Do you mean like this?

   # SELECT * FROM radcheck;
    id | username |     attribute      | op | value
   ----+----------+--------------------+----+-------
     1 | mihamina | Cleartext-Password | := | rktmb
     5 | mihamina | Session-Timeout    | := | 300



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



More information about the Freeradius-Users mailing list