It depends what you are trying to do. If you want a constant timeout then you 
can add it to the database as a reply attribute. If you need something 
dynamic, such as what you described in your other post, then you can use 
rlm_exec to calculate and return the timeout at authentication time.

Regards,
Simon.
---

On Friday 03 September 2004 08:24, Edgars wrote:
> yes, Session-Timeout is good,but will it work if i'll will add it to the
> data base table in moment the user is already logged in? i think no
> because attributes are given to user only after authentication, isn't it
> so? Maybe someone know how to send, for example, session-timeout=1s to user
> during his login? it will be fanastic good, you know:)
>
> Edgars
>
> Simon Bryden wrote:
> >There is a "RADIUS" disconnect mechanism which is not standardised as far
> > as I know and not too widely supported. In most cases you need to use
> > SNMP or other techniques to disconnect sessions. The most standardised
> > way of disconnecting sessions is to use Session-Timeout attribute to tell
> > the NAS when to terminate the session.
> >
> >Regards,
> >Simon.
> >---
> >
> >On Thursday 02 September 2004 14:57, Edgars wrote:
> >>is there a way to do subj. from the freeradius - i'll use this when some
> >>time is reached.
> >>
> >>Edgars
> >>
> >>-
> >>List info/subscribe/unsubscribe? See
> >>http://www.freeradius.org/list/users.html
> >
> >-
> >List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to