FreeRadius + MySQL characters being converted to HEX

Alan DeKok aland at deployingradius.com
Thu Dec 16 16:15:11 CET 2010


Steve Staples wrote:
> there were some other attributes that get these =HEX values passed and
> stored, and what I am wondering is, is that in the flat files, it gets
> stored as 
> connect-progress=LAN Ses Up  ('=3D' translates to '=')
> 
> but in MySQL, it gets parsed/translated to the '=3D' style.  How do I go
> about storing this as the '=' and not the '=3D' as well as all the other
> attribute values that get parsed/translated to hex characters?

  Read raddb/sql/mysql/dialup.conf.  Look for "safe_characters".

> It doesn't appear to be the MySQL that is changing it, it looks like it
> is from the FreeRadius side... but I could be wrong.

  It's FreeRADIUS.

  Alan DeKok.



More information about the Freeradius-Users mailing list