i want such a thing - i have one additional field in radcheck table which is true/false. So i have one function which starts to work after user is authenticated for the first time. And if there is special timeout set for him (i.e. for example 1 hour) then starting from this moment his username is valid for one hour. So at this stop time i'm putting false in that file,but i am checking this file only at authentication, so i should somehow send to this user session-timeout=1s or some other way stop him for a while to make him authenticate again.

Thanks!
Edgars

Simon Bryden wrote:

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





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

Reply via email to