Re: [Chillispot] Correction of Reply Messages

This is a discussion on Re: [Chillispot] Correction of Reply Messages within the FreeRADIUS Users forums, part of the Networking and Network Related category; I think that this is a trivial bug: sqlcounter noresetcounter { counter-name =3D Max-All-Session-Time check-name =3D ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-10-2007
 
Posts: n/a
Default Re: [Chillispot] Correction of Reply Messages

I think that this is a trivial bug:

sqlcounter noresetcounter {
counter-name =3D Max-All-Session-Time
check-name =3D Max-All-Session
sqlmod-inst =3D sql
key =3D User-Name
reset =3D never
query =3D "SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName=3D'%{%k}'"
}

It sends reset parameter instead of (?)check name parameter in the reply.
You should report it.

There should be something else (? %S if there is one) instead of %s here:

snprintf(msg, sizeof(msg), "Your maximum %s usage time has been
reached", data->reset);

Ivan Kalik
Kalik Informatika ISP



Dana 10/3/2007, "PD" <paul@ranahminang.net> pi=B9e:

>Thx Brad...
>
>But... our FR installation is came from FBSD ports, not self compiling.
>How to apply yr patch ?
>
>Cheers
>
>PD
>
>On 3/10/2007, "Brad Evans" <brad@totalweb.net.au> wrote:
>
>>Hi,
>>
>>Check out the "FreeRadius" forum at www.chillispot.org - there is a
>>patch there which allows you to specify custom reply messge text.
>>
>>Cheers
>>
>>PD wrote:
>>> Dear all,
>>>
>>> Sorry for cross post... since I doubt about which area of this question.
>>>
>>> I just create one account call test for duration 300 second / 5 minutes.
>>> After the maximum time reached, I logged by the system out. When I try
>>> to log in again, the reply message display is "Your maximum never usage
>>> time has been reached"
>>>
>>> Seems that I have some correction for the message (take out never), but=

I
>>> do not know how to do it.
>>>
>>> Can some one let me know where to edit the above reply message ?
>>>
>>> TIA
>>>
>>> PD

>>

>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.=

html
>
>


- =

List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.h=
tml
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0