Alan DeKok aland at
Mon Sep 7 13:57:26 CEST 2020

On Sep 7, 2020, at 4:58 AM, MEjaz <mejaz at> wrote:
> I am trying to configure FreeRadius 3.0X  with remote MSSQL and unixODBC,
> all basic tests have been passed sucefully.

  You need to configure the "sql" module, to set "dialect", and maybe "driver".  This is documented in the comments in mods-available/sql.
> However, when I run radtest, on my radiusd server, I get the following error
> ...
> [root at radius-1 ~]#  radtest testnesma at 112233
> localhost 0 testing123

  We do NOT need to see the output of "radtest".  This is documented everywhere.

> ...
> The 'rlm_sql_null' driver CANNOT be used for SELECTS.
> Please update the 'sql' module configuration to use a real database.
> Set 'driver = ...' to the database you want to use.

  That seems pretty clear.

  It helps to read the comments in the module, and the debug messages that the server produces.

  Alan DeKok.

More information about the Freeradius-Users mailing list