1.1.7 sqlippool %{SQL-User-Name}

Peter Nixon listuser at peternixon.net
Tue Jul 17 20:46:57 CEST 2007


On Tue 17 Jul 2007, Hugh Messenger wrote:
> > I don't know if it makes any difference, but whereas I see this whenever
> > rlm_sql does something:
> >
> > rlm_sql (sql): sql_set_user escaped user --> '3notchmuseum'
> >
> > ... I don't see anything to that effect when rlm_sqlippool does its
> > stuff.
>
> BTW, something I noticed in the code, although it calls sql_set_user in
> sqlippool_query1, it doesn't call it in sqlippool_command.
>
> However, I'm not even seeing the SQL-User-Name in SELECT's (which I think
> is the difference ... selects go thru sqlippool_query1, updates go thru
> sqlippool_command), which I would have expected to work.

Good eyes. Hopefully it should work now.

-- 

Peter Nixon
http://peternixon.net/



More information about the Freeradius-Users mailing list