Re: special characters in username in rlm_sql

2006-03-29 Thread Nicolas Baradakis
Duane Cox wrote: Appartenly somewhere (rlm_sql ?) the username is being changed possible in an anti-injection function, I don't know. Can someone shed some light on this? For instance, in the debug snip below, the username 'dcoxdcox' is changed to 'dcox=26dcox' which of course fails the sql

Re: special characters in username in rlm_sql

2006-03-28 Thread Alan DeKok
Duane Cox [EMAIL PROTECTED] wrote: Appartenly somewhere (rlm_sql ?) the username is being changed possible in an anti-injection function, I don't know. Can someone shed some light on this? See sql.conf, look for safe characters. Edit at your own risk. Alan DeKok. - List

Re: Special Characters in username

2004-04-27 Thread Paul Hampson
On Tue, Apr 27, 2004 at 02:43:35PM +0100, Brent Geach wrote: Hi I have a requirement to use special characters in the username field. When the user tries to log in with a * in the username it gets converted to =2A before going off to the mysql database to check the username and then obviously

RE: Special Characters in username

2004-04-27 Thread Brent Geach
Hi Thanks that works a treat by allowing the * as a safe char. I would suggest it as a config option as this almost made me turn to gnu radius as this has it already as an option. Thanks again Brent On Tue, Apr 27, 2004 at 02:43:35PM +0100, Brent Geach wrote: Hi I have a requirement to use

Re: Special Characters in username

2004-04-27 Thread Alan DeKok
[EMAIL PROTECTED] (Paul Hampson) wrote: Hmm. Now I think about it, we could solve this problem finally by adding a 'safe-chars' configuration variable to rlm_sql, and trust the local admin to only have characters in the list that are locally safe... That's the best thing. The