Issue with (not really) hex attribute values

Stephan Jaeger stephan.jaeger at ewetel.de
Wed Mar 26 10:19:06 CET 2008


Hi,

I've got a problem with 2.0.2. Since 2008/01/15 there is a change which
interprets attribute values as hex strings. This is a problem if you
have User Passwords in the Database which start with '0x':

rlm_sql: Failed to create the pair: Invalid hex string
rlm_sql (sql_ewetel): Error getting data from database
rlm_sql (sql_ewetel): SQL query error; rejecting user

Do you have any suggestions how to handle this case, other than force
users to not use 0x as prefix of their passwords ;)


Corresponding change info:

Description:
        Permit *known* attributes to be sent as hex via 0x...
Modified files:
        File: radiusd/src/lib/valuepair.c; Revision: 1.134;
        Date: 2008/01/15 14:33:38; Author: aland; Lines:  (+15 -2)

Regards

Stephan Jäger
-- 
Stephan Jaeger <stephan.jaeger at ewetel.de>
EWE TEL GmbH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20080326/6c0ca061/attachment.pgp>


More information about the Freeradius-Devel mailing list