Re: Class attribute in accounting record.

2007-10-29 Thread Alan DeKok
Mark Elkins wrote: > .. 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. The files are editable for a reason. If all you see is ASCII "Class" attributes, add the following to the bottom of ra

Re: Class attribute in accounting record.

2007-10-29 Thread Mark Elkins
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

Re: Class attribute in accounting record.

2007-10-29 Thread tnt
You can use CHAR() in the sql statement if you recieving Class attribute ASCII encoded. Ivan Kalik Kalik Informatika ISP Dana 29/10/2007, "Mark J Elkins" <[EMAIL PROTECTED]> piše: >My access provider is setting and sending me the "Class" attribute in an >accounting record... > >I use MySQL to s

Re: Class attribute in accounting record.

2007-10-29 Thread Michael da Silva Pereira
hael da Silva Pereira Tradepage ;) -Original Message- From: Mark J Elkins <[EMAIL PROTECTED]> Reply-To: FreeRadius users mailing list To: freeradius-users@lists.freeradius.org Subject: Class attribute in accounting record. Date: Mon, 29 Oct 2007 16:45:14 +0200 My access provid

Class attribute in accounting record.

2007-10-29 Thread Mark J Elkins
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 in order to Capture the value - I modified all accounting "Insert" statements to (as an example) accounting_start_query = "INSERT