On Fri, Sep 24, 2004 at 02:31:47PM +0400, Alexander M. Pravking wrote:
> On Fri, Sep 24, 2004 at 09:39:07AM +0200, Oliver Graf wrote:
> > Hi!
> > 
> > I've upgraded recently from 0.9.3 to 1.0.1. There seems to be one
> > small problem in the sql module: a Username seems to be quoted two
> > times, first when setting sql_user_name, then when doing the xlat on
> > the whole query.
> 
> IIRC this behavour is here since SQL-User-Name attribute is handled by
> rlm_sql, because it's being escaped twice. Two ways I see:
> 1. avoid using %{SQL-User-Name} in queries.
> 2. patch rlm_sql.c::sql_set_user to pass func=NULL to radius_xlat.

It does not seem that the change which causes this is in rlm_sql.c. I
guess it is to search in variable expansion of main/xlat.c. But I
currently fail to see the change between 0.9.3 and 1.0.1 where this
happened... perhaps I will take a deeper look later.

Oliver.


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

Reply via email to