On Fri, 21 Nov 2003, Alan DeKok wrote:

> Lance Davis <[EMAIL PROTECTED]> wrote:
> > 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 :-
> 
>   See long discussions in the list archives.

References ?? Dates ???

> 
>   That string could probably be made configurable...
> 

I wouldnt mind if I could find some documentation somewhere that said ' if 
you want/need to use '#' (etc) in a username then convert it to =23 (etc) 
when you store it in the sql tables, because that is what we do when we 
receive it and use it in a query ....

It might be there somewhere - I just havent seen it ...

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