SQL query with unixodbc and freetds

Matthew Newton mcn at freeradius.org
Tue Dec 12 19:27:20 CET 2017


On Sat, 2017-12-09 at 15:22 +0000, Vieri via Freeradius-Users wrote:
> # cat /etc/unixODBC/odbc.iniĀ 
> [sqlserver]
> Driver = FreeTDS
> Description = MS SQL server
> Trace = No
> Server = sqlserver
> Port = 1433
> Database = myDB
> TDS_Version = 7.1
> 
> # cat /etc/unixODBC/odbcinst.iniĀ 
> [FreeTDS]
> Description=Freetds

You could try using rlm_sql_freetds and skip ODBC? Should save a layer
of indirection, assuming it works.

-- 
Matthew



More information about the Freeradius-Users mailing list