[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Extending Radius
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Extending Radius |
Date: |
Fri, 8 Aug 2003 09:15:20 +0300 |
> Objective:
> to change a Session-Timeout value in Attribute table, *BEFORE* radius runs
> query to get this timeout for a specific user.
> in other words, session timeout is dynamically calculated for each user upon
> connection.
>
> How should I approach such problem
Use extensions: either an external procedure to be invoked via
Exec-Program-Wait attribute, or, preferably, a Guile
procedure invoked by Scheme-Procedure attribute. See
http://www.gnu.org/software/radius/manual/html_node/radius_90.html#SEC163
http://www.gnu.org/software/radius/manual/html_node/radius_184.html#SEC274
for detailed description. A sample Scheme procedure is provided with
the distributioni, see file radius/radscm/ttl.scm.
Regards,
Sergey