modify sql table structure for additional logging

Alan DeKok aland at deployingradius.com
Wed Dec 20 05:37:16 CET 2006


Cory Robson wrote:
> 
> Is it possible to modify the existing radacct table with some extra fields
> for logging.

  Yes.  You can add anything you want to the SQL schema, and then edit
the queries/inserts to write the appropriate data.

> My upstream also sends Attr-151 X-Ascend-Session-Svr-Key which I would also
> like logged (its used for terminating a user if need be). I could use it in
> the unique session server key field instead of the calculated one but would
> need a step by step on how to go about that.

  See raddb/radiusd.conf, look for "acct_unique" & read the docs.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list