Version 3.0.4 and Interim-Update

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Nov 26 15:05:49 CET 2014


> On 26 Nov 2014, at 08:16, Heiko O <puettagoras at gmail.com> wrote:
> 
> Hi all,
> 
> i'm trying out freeradius 3.0.4 and have problems with Interim-Accounts. I get
> 
> (8) # Executing section accounting from file /etc/raddb/sites-enabled/default
> (8)   accounting {
> (8)  detail : EXPAND
> /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
> (8)  detail :    --> /var/log/radius/radacct/172.16.252.9/detail-20141126
> (8)  detail : /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
> expands to /var/log/radius/radacct/172.16.252.9/detail-20141126
> (8)  detail : EXPAND %t
> (8)  detail :    --> Wed Nov 26 12:56:50 2014
> (8)   [detail] = ok
> (8)  sql : EXPAND %{tolower:type.%{%{Acct-Status-Type}:-none}.query}
> (8)  sql :    --> type.interim-update.query
> No such configuration item .type.interim-update.query
> (8)   [sql] = fail
> (8)  } #  accounting = fail
> (8) Not sending reply
> (8) Finished request
> 
> My question is: how and where can i find / activate or place this
> interim-update.query?
> I read the README, that the config could be patched - but i'd like to
> migrate as suggested.

In mods-config/sql/<dialect>/main/queries.conf

> So, how do i configure Interim-Updates properly?

Use the bundled queries.conf, copy over your modifications from dialup.conf
in v2.x.x.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2



More information about the Freeradius-Users mailing list