problem with postgres and 2.0.4

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Tue May 6 15:03:16 CEST 2008


Hi,

>   Add a "server" column to the schema, or to the query, with NULL value.

didnt work. as hinted at, rlm_sql now has a num_fields thing
to see if you've used 5 or 6 rows. if you use 5, you're normal,
if you've used 6 then the new field is the virtual server. 
hmmm....too dumb really, but I'll bite.

>   in the "query" routine.  Maybe this can be stored in the header, like
> 'affected_row', and returned...
> 
>   As always, patches are welcome.

submitted bug 551 - this gives sql_postgres a sql_num_fields
function which is needed for the new virtual_server to work
(or not work if you dont want them!)

alan



More information about the Freeradius-Users mailing list