query.conf/mysql, UNHEX help

Jorge Pereira jpereiran at gmail.com
Tue Aug 25 22:50:22 CEST 2015


Hi,

you need to update the 'safe_characters'

root at srv:/etc/freeradius# grep safe_characters*
./mods-config/sql/main/mysql/queries.conf*
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
root at srv:/etc/freeradius#

--
Jorge Pereira

On Tue, Aug 25, 2015 at 3:03 AM, Miha <miha at softnet.si> wrote:

> Hi,
>
> I would need a little help with UNHEX thing for file query.conf which is
> for mysql.
> Here is one part that is bothering me from query.conf. I posted it on
> pastebin:http://pastebin.com/JXwuc3ST
>
> In accounting request I get like this: CALLEDSTATIONID_WITH_PREFIX =
> '88#' but in mysql insert radius is inserting like this  '88=23' value
> ''88#' which is HEX.
>
> OK how to write this part so that I will be inserted like '88#'?
>
> '%{CALLEDSTATIONID_WITH_PREFIX}'
>
> tnx
> miha
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list