Gigawords

Guilherme Franco guilhermefranco at gmail.com
Fri Sep 14 19:55:35 CEST 2007


Hello Mr. Mayers,

I don't think so cause I've copied the very same sintax that can be found in
oraclesql.conf of FR 1.1.7.

Thank you.

Guilherme Franco

On 9/14/07, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
>
> On Fri, 2007-09-14 at 00:05 -0300, Guilherme Franco wrote:
> > Hello,
> >
> > I'm using rlm_sql_log in freeradius 1.1.4.
> >
> > In order to correctly work with acct-input/ output gigawords, I've
> > replaced '%{Acct-Input-Octets}' with '%{%{Acct-Input-Gigawords}:-0}'
> > << 32 | '%{%{Acct-Input-Octets}:-0}' in the rlm_sql_log conf, but this
> > results in invalid queries like:
> >
> > "update radacct set... ...acctiputoctets = 0 << 32 | 98..."
>
> Is that not because you put an invalid query template in?
>
> You need () around the (val << N) bit.
>
> You also almost certain want to do:
>
> (giga << 32) + words
>
> ...rather than using bitwise | operator
>
>
> >
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070914/f46aa9f8/attachment.html>


More information about the Freeradius-Users mailing list