Log a Vendor-Specific Value

Ivan Kalik tnt at kalik.net
Fri May 15 14:35:03 CEST 2009


> Hi,
> I have some problems with radius. I want to log the Value (an integer)
> in my Vendor-Specific attribute to a mysql database.
> I use %'{Vendor-Specific}' as variable to write it to the database but
> it always writes 0x25ce0000010630390000 to the database instead of the
> Value.
>

That *is* the value of that attribute.

Use perl module to decode the attribute. Place decoded value in the
attribute you created in raddb/dictionary (or in one of the temporary
attributes defined in dictionary.freeradius.internal) and write that into
the database.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list