On Tue, Jul 17, 2012 at 2:44 PM, Andreas Meyer <anmeyer@anup.de> wrote:
I cannot find the place where in a configurationfile I can change the value to log into the radacct table.
Did you read http://wiki.freeradius.org/SQL-HOWTO ?
Search for "accounting"
Yes, I read the SQL-Howto. Made a change in the dialup.conf from sql_user_name = "%{User-Name}" to sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}"
and the debug output shows that the radiusd is using stripped user-name. But the radacct is not filled up. All is written to the logfile in /usr/var/log/radius/radacct/192.168.1.254
I wonder if it might have something to do with the buffered-sql in /usr/etc/raddb/sites-available. I made no changes to that file.
Re-read the wiki page. If you HAVE read it correctly, you would've seen that you need to change something in that file. -- Fajar