Hi

I have tried it and i think it worked although for some odd reason the
Reason for reject i am getting from the logs is

Reply-Message := "\r\nYou are already logged in - access denied\r\n\n"

Anything you would like to add?

Sarky


On Tue, 17 Aug 2004 09:24:31 -0400 (EDT), Dustin Doris wrote:
> Check out the rlm_sqlcounter module.  Read doc/rlm_sqlcounter.  In
> your sqlcounter.conf file you can use something like this.
>
> sqlcounter poolofminutes {
>        counter-name = Max-All-Session-Time
>        check-name = Max-All-Session
>        sqlmod-inst = sql
>        key = User-Name
>        reset = never
>        query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE
> UserName='%{%k}'" }
>
> Then in your sql table, you'll add something like this for say user
> bob
>
>
> insert into radcheck set UserName = 'bob', Attribute =
> 'Max-All-Session-Time', Value = '2592000', op = ':=';
>
>
> This will insert the Max-All-Session-Time of 2592000 seconds
> (30*24*60*60).
>
>
> Hope that helps,



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

Reply via email to