So from what I read it seems that I might be able to do something like this:

in the postgresql.conf define a new variable like this: my_session_timeout =
"SELECT minutes_left from ${acct_tablex} where user = '%{SQL-User-Name}' "

Then back in the radiusd.conf do this for the session-timeout:
Session-Timeout = my_session_timeout

Thus the session time out will vary from session to session based on how
much a user has left?

Im reading more of the stuff in doc, and it seems that is what the expr mod
is kinda for, allowing for assignment based on string interpertation.

Dan
----- Original Message ----- 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 1:44 PM
Subject: Re: Hotspot nearing completion


> "Daniel Baughman" <[EMAIL PROTECTED]> wrote:
> > How can I tell the NAS AP's to time out a user's connection after he has
> > used his allotted minutes?
>
>   See the Session-Timeout attribute.
>
>   Alan DeKok.
>
> -
> 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