With the current git (2011-Mar-05)

 

/usr/local/sbin/radiusd -v

radiusd: FreeRADIUS Version 2.2.0, for host x86_64-unknown-linux-gnu, built on Feb 22 2011 at 23:50:57

Copyright (C) 1999-2010 The FreeRADIUS server project and contributors.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

You may redistribute copies of FreeRADIUS under the terms of the

GNU General Public License.

For more information about these matters, see the file named COPYRIGHT.

 

Mon Mar  7 13:19:46 2011 : Debug:     (Loaded rlm_sqlcounter, checking if it's valid)

Mon Mar  7 13:19:46 2011 : Debug:  Module: Linked to module rlm_sqlcounter

Mon Mar  7 13:19:46 2011 : Debug:  Module: Instantiating module "noresetcounter" from file /usr/local/etc/raddb/sql/mysql/counter.conf

Mon Mar  7 13:19:46 2011 : Debug:   sqlcounter noresetcounter {

Mon Mar  7 13:19:46 2011 : Debug:       counter-name = "Max-All-Session-Time"

Mon Mar  7 13:19:46 2011 : Debug:       check-name = "Max-All-Session"

Mon Mar  7 13:19:46 2011 : Debug:       key = "User-Name"

Mon Mar  7 13:19:46 2011 : Debug:       sqlmod-inst = "sql"

Mon Mar  7 13:19:46 2011 : Debug:       query = "SELECT IFNULL(SUM(AcctSessionTime),0) FROM radacct WHERE UserName='%{%k}'"

Mon Mar  7 13:19:46 2011 : Debug:       reset = "never"

Mon Mar  7 13:19:46 2011 : Debug:       safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"

Mon Mar  7 13:19:46 2011 : Debug:   }

Mon Mar  7 13:19:46 2011 : Debug: rlm_sqlcounter: Reply attribute set to Session-Timeout.

Mon Mar  7 13:19:46 2011 : Error: rlm_sqlcounter: Failed to create check attribute Max-All-Session

Mon Mar  7 13:19:46 2011 : Error: /usr/local/etc/raddb/sql/mysql/counter.conf[110]: Instantiation failed for module "noresetcounter"

 

the module in sql/mysql/counter.conf, noresetcounter, and other counter fail to load.

Is someone has tested this with the current git ?

 

Works fine with 2.1.10

 

 

Thierry Museux
France Wireless Technologies
www.fwt.fr
msn: tm@fwt.fr
Tel: + 33 (0) 1 41 08 70 78
Gsm: + 33 (0) 6 15 22 09 62