UPDATE RADACCT problem

ravi reddy mravikreddy at gmail.com
Wed Jul 26 08:49:14 CEST 2006


Hi all

    I am using Freeradius-1.1.2 with SER for Accounting purpose every thing
is going good til now,

 here i need some help regarding FreeRadius :-  when acctstarts the radius
server is writing the acctstart time stamp in radact table

and when acct stops it again update radacct table by writing the acctstop
time to the radacct table..

So,here when updating the radacct table its looks like this


radius_xlat:  'UPDATE radacct SET AcctStopTime = '2006-07-26 09:39:57',
AcctSessionTime = '', AcctInputOctets = '', AcctOutputOctets = '',
AcctTerminateCause = '', AcctStopDelay = '0', ConnectInfo_stop = '' WHERE
AcctSessionId = '1n6Wr5ACE8AymxzZ at 192.168.0.74' AND UserName = '
99106883 at 81.21.33.35' AND NASIPAddress = '127.0.0.1''


here i need to UPDATE radacct only with WHERE acctsessionid= " " AND
NASIPAddress=" "  but not with Username

so can any body please tell me where i have to change in Freeradius

this is very urgent issue for me so please give me reply as soon as
possible,.

                                                 Thank You,

Regards,
Ravi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060726/8ca1b230/attachment.html>


More information about the Freeradius-Users mailing list