Login-Time

tnt at kalik.co.yu tnt at kalik.co.yu
Mon Mar 5 14:13:49 CET 2007


Yes, the string is "wrong". You don't need two entries for one day.

If you want people to login before 9:40 and after 9:52 it goes like this:

Mo0952-0940

Not very logical.

Regards

Ivan Kalik
Kalik Informatika ISP


Dana 5/3/2007, "Joseba Beltrán" <joseba.beltran at gmail.com> piše:

>Hi all,
>
>                Im testing a new conf. using Login-Time. It works fine
>until I try to define 2 timespans for a day. For example if I define a
>new user, called "test" with this radcheck data:
>
>mysql> select * from radcheck where UserName='test'\G
>*************************** 1. row ***************************
>       id: 320
>UserName: test
>Attribute: Login-Time
>       op: :=
>    Value: Mo0001-0940,Mo0952-2359
>1 row in set (0.00 sec)
>
>I can login ok between the first timespan (00:01 to 09:40), but it's
>impossible during the second one (09:52 to 23:59).
>
>Maybe there is someting incorrect in the time string. Any help?
>
>All the best!
>
>Joseba
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>




More information about the Freeradius-Users mailing list