On Sat, 17 Aug 2002, Kostas Kalevras wrote:

> Please try the attached patch. You should then be able to use Login-Time
> compares in the users file. Then you can do the following:
>
> DEFAULT Login-Time == "Any1400-0200", Max-Monthly-Session := 90000
>       Fall-Through = 1
>
> DEFAULT Login-Time == "Any0200-0700", Max-Monthly-Session := 270000
>       Fall-Through = 1
>
> DEFAULT       Login-Time == "Any0700-1400", Max-Monthly-Session := 180000
>       Fall-Through = 1
>
> Hope it works

OK, forget about the patch. Just replace Login-Time with Current-Time in the
above example and you should be just fine. freeradius can be full of surprises.

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


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

Reply via email to