User in multiple groups with different login time

Ivan Kalik tnt at kalik.net
Fri May 15 03:03:01 CEST 2009


> Can you give an example of script? Also how should the script be invoked?
>

Freeradius *is* open source - rlm_logintime. Your problem is that
rlm_logintime doesn't support multiple intervals in the same day - you
will need to rework it so that you can pull each interval from the group
user belongs to and run in through the loop and reject only if there is no
matching time in any of the intervals.

If you translate script to perl you can just list perl in authorize. For
other languages invoke it with exec module.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list