An easier way is to use counters. I have a quite similar problem but want to implement differnt units for daytime/nighttime, like 1 daytime minute = 2 nighttime minutes ...
On Wed, 2002-04-03 at 11:32, Pasi K�rkk�inen wrote: > > Hello! > > I'd like to implement following scenario with openradius or freeradius: > > User has some specific time (say 3600 seconds) one can use. After the > time is exceeded, radiusd return zero seconds as access-time for the user > when one logs in. > > NAS requests allowed access-time when user logs in and returns used time > to radiusd when user logs off. > > I'd like to store this information in sql-database (mysql). > > Has anyone already done something like this? Any ideas how to do this? > > Thanks! > > > - Pasi K�rkk�inen > ^ > . . > Linux > / - \ > Choice.of.the > .Next.Generation. > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html >
signature.asc
Description: This is a digitally signed message part
