rlm_sql_iodbc wrong parameter parsing

Angelo Compagnucci angelo.compagnucci at gmail.com
Wed Jun 8 18:09:02 CEST 2011


I think I found a bug in module rlm_sql_iodbc.

The problem is located in rlm_sql_iodbc driver, in the SQLConnect function.

The function's signature requires sql_server as second parameter
(config->sql_server), but the sql_db one was provided (config->sql_db).

This bug forces to set the configuration parameter "radius_db" to the
system DSN only for iodbc module, differing from the ODBC one where
the "server" parameter is used.

I opened the bug
https://bugs.freeradius.org/bugzilla/show_bug.cgi?id=150 in which I
attached a patch that solves the problem.

Hope this helps.

Thank you for your interest.



More information about the Freeradius-Devel mailing list