sql wont pass radtest

Alan DeKok aland at deployingradius.com
Thu May 27 08:09:56 CEST 2010


Robert Wilkinson wrote:
> I have uncommented all the "SQL" lines to no avail. No module is loaded.

  The debug log *clearly* shows which files it is reading, and which
modules it is loading.  It reads the SQL configuration files, but does
*not* load the SQL module.

> Is it important to have a NAS installed at this stage?

  No.

> including configuration file /etc/freeradius/sites-enabled/default
> including configuration file /etc/freeradius/sites-enabled/inner-tunnel

  Did you edit these files?

  The answer is "no".  None of the debug log shows it loading the sql
module.  You have been editing *different* files, which is why the
server isn't using SQL.

  So.. which files were you editing and why?

  Go back and edit the *real* files.  You will know you have succeeded
when it starts printing text like this:

  Module: Linked to module rlm_sql

  Until it prints that text, you are not editing the right files.

  Again, the *whole purpose* of debug mode is for people to *read* it.
It is *telling* you which files it is reading.  You have been editing
*different* files.

  Alan DeKok.



More information about the Freeradius-Users mailing list