Hi, I have just set up freeradius and trying to get the accountingdata 
to be stored in MySQL. Now I have a problem with interim accountion 
updates, my SQL database doesn't update.

In a reqular acct-status-type = stop (2), everything works fine, looks 
like this:

radius_xlat:  'UPDATE radacct SET AcctStopTime = '2001-08-23 10:28:46', 
AcctSessionTime = '100', AcctInputOctets = '', AcctOutputOctets = '600', 
AcctTerminateCause = '', AcctStopDelay = '', ConnectInfo_stop = '' WHERE 
AcctSessionId = '' AND UserName = 'sven' AND NASIPAddress = '192.168.1.25''

When sending the same attributes to the server except changing 
acct-status-type= 3, i get the following:

radius_xlat:  'UPDATE radacct SET FramedIPAddress = '', AcctSessionTime 
= '100', AcctOutputOctets = '600'  WHERE AcctSessionId = '' AND UserName 
= '' AND NASIPAddress= '192.168.1.25''

make note that there is no username?? why is that?
I thing this is why the sql database doesn't change.
I have been loking in to the sql.conf file and everything looks ok I think.

I'm using freradius v 0.1, doesn't it support RFC 2869 Radius 
Extensions? Is it only v 0.2 that supports RFC 2869?

/Daniel



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

Reply via email to