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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |