"power jessie" <[EMAIL PROTECTED]> wrote:
> Are there any ways I can do these in freeradius (0.4)?
> 
> 1. 'Expiration' will be set based on firt login date.
>       i.e. an account will expired 90 days after
>               first usage.

  How do you know when the user is first logging in?  How do you
authenticate them?

  You can run a shell program when a request is seen.  That shell
program can set up any per-user configuration you desire.

> 2. User-defined reset value in the counter module.
>       i.e. reset = 14 # counter will reset to zero after 14 days
>            reset = 60 # resets after two months

  A *per-user* reset?  That's not supported now, but it should be
possible with source code patches.

> Also, can i have another the same counter module but with a different
>       reset value? i.e.

  Yes, but they will use two different counters, and two different
databases.

  Alan DeKok.

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

Reply via email to