Had a problem with usernames that contain '#' character, which we use 
here.

sql_escape_func() in rlm_sql.c doesnt think that '#' is an ascii printable 
character, so replaces it with '=23' , which then fails to match the 
username :(

Is there any reason for this, and also for the other ascii printable 
characters that are valid in usernames but wouldnt pass the test :-

strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: =/", *in) 
== NULL)

??


Regards
Lance


-- 
uklinux.net - The ISP of choice for the discerning Linux user. 


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

Reply via email to