freeradius2 + iODBC + Informix

Fajar A. Nugraha list at fajar.net
Thu Jan 15 02:51:06 CET 2015


On Wed, Jan 14, 2015 at 7:04 PM, vanish <vanishox at coltel.ru> wrote:
>
>  +++++++++++++++++++++++++++++++++++++++++++++
>         sql {
>                 #
>                 #  Set the database to one of:
>                 #
>                 #       mysql, mssql, oracle, postgresql
>                 #
>                 database = "unixodbc"
>
>                 #
>                 #  Which FreeRADIUS driver to use.
>                 #
>                 driver = "rlm_sql_${database}"
>
>                 # Connection info:
>                 server = "test.server.ru"
>                 port = 1425
>                 login = "test"
>                 password = "test123"
>                 radius_db = "test"

I'm pretty sure that's not the right syntax to specify odbc connection
in FR. A Google search for "freeradius odbc" returns this on top:
http://www.easysoft.com/applications/freeradius/odbc-authorization.html

"Server" should be whatever you set the DSN in odbc, and you should
test it first (i.e. using isql) to verify that it works.

Also check for database-specific quirks. For example, a  database
vendor force the use of $HOME/.odbc.ini, creating it if it doesn't
exists, and completely ignore /etc/odbc.ini. This effectively means
any program that uses odbc must have the correct $HOME variable set to
be able to use odbc.

-- 
Fajar


More information about the Freeradius-Users mailing list