Justin Wheeler <[EMAIL PROTECTED]> wrote:
> Yea, I know that, but I want to specify different A/V pairs based on
> different login times.
Then use the Current-Time attribute:
#
# Always set a session timeout of 28800
#
DEFAULT
Session-Timeout := 28800,
Fall-Through = Yes
#
# For certain times, set the session timeout to a different value
#
DEFAULT Current-Time == "mo19:30-22:30,..."
Session-Timeout := 2400,
Fall-Through = Yes
The time format for Current-Time is the same as for Login-Time.
If you put a 'Login-Time' in an entry after one of the above, then
the Login-Time code will take care of setting Session-Timout to the
SMALLEST of the allowed values.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html