expiration attribute as an offset?

Alan DeKok aland at deployingradius.com
Tue Jan 23 16:28:11 CET 2007


liran tal wrote:
> Is it possible to set the expiration attribute to be of an offset type?

  No.  Because something has to remember when the offset started.

> Say I set an offset of +30 days, and the user logins for the first time
> only 6 months from now. So once he
> login'ed once then the counter will start counting 30 days from his
> first login and then expire the account.

  Run a script on the first login that updates the DB with the proper
expiration.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list