using sqlcounters

Alexandre Chapellon alexandre.chapellon at mana.pf
Fri Sep 5 19:38:29 CEST 2008


You're right, adding the name of my sqlcounter in the instantiate
section lake it works.
thx :)

Alan DeKok a écrit :
> Alexandre Chapellon wrote:
>   
>> whenever i launch freeradius -X I get the folloawing error:
>> /etc/freeradius/users[205]: Parse error (check) for entry scott: Invalid
>> octet string "101" for attribute name "Max-Traffic"
>>     
>
>   The modules are initialized in *order*.  The sqlcounter module creates
> the attributes on the fly.  But... it can't do this if it hasn't been
> run yet.
>
>   
>> Line 205 is the line where user scott is defined in users files.
>> I have tryed setting up my own dictionnary (which i think shouldn't be
>> needed) with the Max-Traffic attribute defined as interger
>>
>> VENDOR ME
>> ATTRIBUTE       Max-Traffic     1       integer
>>     
>
>   That isn't the correct dictionary file format, but it's not relevant,
> either.
>
>   
>> But that doesn't help. I have read all over the web that sqlcounter with
>> mysql are considered as stable enough for production , so am quite
>> surprised of this issue...
>> Any idea?
>>     
>
>   List "sqlcounter" in the "instantiate" section.  It will be
> initialized before the "users" file is read.
>
>   Alan DeKok.
> -
> 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/20080905/6682b6a9/attachment.html>


More information about the Freeradius-Users mailing list