hi,
I am using Freeradius 0.7 on Redhat linux 7.3 with Mysql Authentication and Accounting 
as well as rlm_sqlcounter module.

I wanna define a 'monthly credit based' group named 'CRG' as below:
1-users  have  totaly 30000 cent  pre-paied credit.
2-if users connect between  '00:00 AM'  to  '08:00 AM' , I want to subtract 1 cent per 
 minute from his total credit.
3-if users  connect between '08:00 AM' to '23:59 PM'  ,  I want 2 cent per each 
minutes reduced from his total credit.
4-reject users with  0  totaly credit
5-reject users with more than 1 month connection

Any idea about defining such a  special special group using rlm_sqlcounter ?!


p.s. all my users/groups/passwords/acct...  configurations stored in mysql database 
and i have full sql enabled freeradius working on my server.


M. Roomi
Payana Systems Admin



_____________________________________________________________
Promote your group and strengthen ties to your members with [EMAIL PROTECTED] by 
Everyone.net  http://www.everyone.net/?btn=tag

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

Reply via email to