On Mon, Jun 03, 2002 at 02:30:37PM -0400, Eric Dean wrote:
> 
> My postgres.log shows that users with underscore's somehow get transformed
> to a value '=5F'
> DEBUG:  query: SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE
> Username = '[EMAIL PROTECTED]' ORDER BY id
> 
> while my radius log shows it correctly:
> Sun Jun  2 13:50:25 2002 : Auth: Login incorrect: [[EMAIL PROTECTED]]
> (from client radius2.purespeed.com port 1)
> Sun Jun  2 13:51:31 2002 : Auth: Login incorrect (No password configured for
> the user): [[EMAIL PROTECTED]] (from client radius2.purespeed.com port
> 1)
> 
> any ideas?

Yepp, the username is being escaped to avoid sending strange characters
in your sql queries. '_' sounds like a candidate for another char that
should perhaps not be escaped.

(For further info, see rlm_sql.c around line 175).

-- 
Simon


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to