Implementing 'Invalid before' feature
Good morning, I am working with FR some years ago, and I have implemented a prepaid card system. I want to get an account which are not valid until some date. I am looking for some freeradius attribute which means 'account invalid until 15th march 2009'. I do not know if I have to use freeradius attributes (Expiration, Session-Terminate-Time or some other attribute) with special operator. Can someone help me to find out this freeradius feature? Thanks. _________________________________________________________________ Chatea sin límites en Messenger con la tarifa plana de Orange http://serviciosmoviles.es.msn.com/messenger/orange.aspx
I am working with FR some years ago, and I have implemented a prepaid card system. I want to get an account which are not valid until some date. I am looking for some freeradius attribute which means 'account invalid until 15th march 2009'.
No ready-made attribute. You can define your own. Make date type attribute Reject-Before in raddb/dictionary. Then create a prel script that rejects the user if value of that attribute is before request timestamp. Ivan Kalik Kalik Informatika ISP
participants (2)
-
Santiago Balaguer García -
tnt@kalik.net