No body know what is the solution? I send this e-mail, and nothing of answer.

Good Day
From: Abel Monzón 
To: mailist 
Sent: Monday, February 19, 2007 2:04 AM
Subject: Attribute Max-Daily-Session + Session-Timeout


Hello List.

I have a problem. I had limited the Max-Daily-Session = 120, and the 
Session-Timeout = 60. 

The Session-Timeout work, but the Max-Daily-Session don't. because the 
Session-Timeout log out the user, but de Max-Daily-Session don't and let log in 
again.

I have this in my radiusd.conf:

sqlcounter contdiario {
                counter-name = Daily-Session-Time
                check-name = Max-Daily-Session
                sqlmod-inst = sql
                key = User-Name
                reset = daily
                count-attribute = Max-Daily-Session
                query = "SELECT SUM(AcctSessionTime - \
                 GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0)) \
                 FROM radacct WHERE UserName='%{%k}' AND \
                 UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '%b'"
                }

authorize {
                ....
                contdiario
                .....
                }

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

Reply via email to