Can i do that?

Marat Rysbekov rysbekov at gmail.com
Mon Apr 9 06:20:01 CEST 2007


Hello, Kostas.

I believe the best way to do that is to use stored procedures, if your
DB server supports them. Then you can replace the accounting query
strings in sql.conf to something like: "CALL
accounting_start_procedure(attributes_you_want_to_pass)", and compose
a stored procedure that will process the passed attributes and write
to whatever tables you need.

I can give you a MySQL example, if you're interested.



More information about the Freeradius-Users mailing list