expiration attribute as an offset?
liran tal
liransgarage at gmail.com
Sun Jan 28 08:53:01 CET 2007
Interesting.
I actually wouldn't want to go into involving scripts but this gets me
curious - what would be the way to
run a script on the first login? This is something freeradius related, isn't
it?
Thanks.
On 1/23/07, Alan DeKok <aland at deployingradius.com> wrote:
>
> 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
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070128/b0fa1984/attachment.html>
More information about the Freeradius-Users
mailing list