Class attribute in accounting record.

Mark Elkins mje at posix.co.za
Mon Oct 29 17:22:04 CET 2007


On Mon, 2007-10-29 at 16:45 +0200, Mark J Elkins wrote:
> My access provider is setting and sending me the "Class" attribute in an
> accounting record...
> 
> I use MySQL to store such info in... and I'm using freeradius 1.1.6

Wisdom prevails.. (touching the dictionaries is probably a bad* thing to do...)

I'm using ...

accounting_stop_query_alt = "INSERT....  , UNHEX(SUBSTR('%{Class}',3)))"

.. which keeps personal changes to one place (sql.conf and files
in /etc/raddb) and saves me from upsetting Alan DeKok's karma* - a bad
thing to do.
-- 
  .  .     ___. .__      Posix Systems - Sth Africa
 /| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496



More information about the Freeradius-Users mailing list