Implementing 'Invalid before' feature

tnt at kalik.net tnt at kalik.net
Mon Mar 2 12:05:45 CET 2009


>    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




More information about the Freeradius-Users mailing list