Issue with (not really) hex attribute values
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@ewetel.de> EWE TEL GmbH
Stephan Jaeger wrote:
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':
Hmm... good point. I think that change can be reverted.
Do you have any suggestions how to handle this case, other than force users to not use 0x as prefix of their passwords ;)
Revert the change in the source code. I'll take a look at doing something for the next release. Alan DeKok.
participants (2)
-
Alan DeKok -
Stephan Jaeger