Well, the pb is that if you are doing this a user could login for more
than  90days after his first connection.
And this kind of user already have a max session timeout in setting.

So now I make a perl script that check every 24h the first connection of
a user and set the Expiration attribute to 90day more.

But I feel that it is not a correct solution... If you have some best
...

thx

 

-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Alan
DeKok
Envoyé : mercredi 20 octobre 2004 18:16
À : [EMAIL PROTECTED]
Objet : Re: Expiration counter 


"EROS" <[EMAIL PROTECTED]> wrote:
> For example, a user could connect 90d after his first connection and 
> no more. I don't know how to setup a counter like this , if somebody 
> has an idea !

  rlm_counter.  See raddb/radiusd.conf for examples.

  You should say "reset = never", and then set the maximum session time
to 3600*24*90.

  Alan DeKok.


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


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

Reply via email to