8 Jun
2011
8 Jun
'11
12:09 p.m.
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.