thanks again to Alan Dekok for you help.
i recompile with the modify of this file and now he work fine in my system.
very thanks.
Victor Sanchez.
----- Original Message -----
From: "Victor Sanchez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 30, 2002 4:10 PM
Subject: Re: problems with username user diferent in detail file and mysql
> ok, i try to modify this file to include the char that i need, for example [] and {}
>
> i need to modify the function sql_escape_func
>
>
> static int sql_escape_func(char *out, int outlen, const char *in)
> {
>
> ---------------------------------------------------------------
>
>strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: =/", *in)
>==
> ---------------------------------------------------------------
>
> here i need include the char that i need, isn't it ??
>
> thanks for your fasters help.
>
>
> ----- Original Message -----
> From: "Alan DeKok" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 30, 2002 4:03 PM
> Subject: Re: problems with username user diferent in detail file and mysql
>
>
> > "Victor Sanchez" <[EMAIL PROTECTED]> wrote:
> > > Sat Nov 30 15:22:01 2002
> > > User-Name = "[march]"
> > >
> > > but in the mysql i can read the user "=5Bmarch=5D"
> >
> > Yes. For security purposes, some characters in SQL strings are
> > mangled.
> >
> > > what char are afected ??
> >
> > See 'src/modules/rlm_sql/rlm_sql.c'
> >
> > Alan DeKok.
> >
> > -
> > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html