On Mon, Jun 10, 2002 at 11:08:43AM +0400, rust wrote:
> Hello freeradius-users,
>
> Sorry for bad english
>
> After installing fr20020604 my users with chars '_' in their names got
> error on login.
>
> Looking rlm_sql.c - found new function
>
> static int sql_escape_func(char *out, int outlen, const char *in)
>
> if ((in[0] < 32) ||
>
>strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-", *in) ==
>NULL)
>
> In strchr must be added printable symbols '_','/',' ' etc , because
> it function change for example login name 'mr_bin' to 'mr=5Fbin'
> connect string '33600/ARQ/V34/LAPM/V42BIS' to '33600=2FARQ=2FV34=2FLAPM=2FV42BIS'
'_' ':' and ' ' are already added in current cvs, so updating should
help.
--
Simon
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html