From: Alan T. DeKok Date: Sun, 17 Mar 2019 14:37:44 +0000 (-0400) Subject: make the default config clearer X-Git-Tag: release_3_0_19~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e9f079917f247b6329d090b271bc768f35bcad;p=thirdparty%2Ffreeradius-server.git make the default config clearer --- diff --git a/raddb/mods-available/sql b/raddb/mods-available/sql index 1034cfd349b..27665b4a6cc 100644 --- a/raddb/mods-available/sql +++ b/raddb/mods-available/sql @@ -18,17 +18,30 @@ # sql { - # The sub-module to use to execute queries. This should match - # the database you're attempting to connect to. # - # * rlm_sql_mysql - # * rlm_sql_mssql - # * rlm_sql_oracle - # * rlm_sql_postgresql - # * rlm_sql_sqlite - # * rlm_sql_null (log queries to disk) + # The dialect of SQL being used.x + # + # Allowed dialects are: + # + # mssql + # mysql + # oracle + # postgresql + # sqlite + # + dialect = "sqlite" + + # + # The driver module used to execute the queries. Since we + # don't know which SQL drivers are being used, the default is + # "rlm_sql_null", which just logs the queries to disk. + # + # In order to talk to a real database, delete the next line, + # and uncomment the one after it. # driver = "rlm_sql_null" +# driver = "rlm_sql_${driver}" + # # Several drivers accept specific options, to set them, a @@ -83,13 +96,6 @@ sql { # } # - # The dialect of SQL you want to use, this should usually match - # the driver you selected above. - # - # If you're using rlm_sql_null, then it should be the type of - # database the logged queries are going to be executed against. - dialect = "sqlite" - # Connection info: # # server = "localhost"