From: Jorge Pereira Date: Wed, 28 Jul 2021 13:51:09 +0000 (-0300) Subject: Fix raddb SQL config path (#4151) X-Git-Tag: release_3_0_24~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ddf908ef2246b8494d9cb390bc22d65ae8af8b;p=thirdparty%2Ffreeradius-server.git Fix raddb SQL config path (#4151) --- diff --git a/raddb/README.rst b/raddb/README.rst index c35a4a6d52..118dcdfba9 100644 --- a/raddb/README.rst +++ b/raddb/README.rst @@ -177,7 +177,7 @@ type was ignored by the module. Now, support for any accounting type can be added by just adding a new target, as below. Queries from v2.x.x may be manually copied to the new v3.0 -``dialup.conf`` file (``raddb/sql/main//queries.conf``). +``dialup.conf`` file (``raddb/mods-config/sql/main//queries.conf``). When doing this you may also need to update references to the accounting tables, as their definitions will now be outside of the subsection containing the query. diff --git a/raddb/mods-available/cui b/raddb/mods-available/cui index b72aa309bf..54842d4106 100644 --- a/raddb/mods-available/cui +++ b/raddb/mods-available/cui @@ -5,8 +5,8 @@ # # Write Chargeable-User-Identity to the database. # -# Schema raddb/sql/cui//schema.sql -# Queries raddb/sql/cui//queries.conf +# Schema raddb/mods-config/sql/cui//schema.sql +# Queries raddb/mods-config/sql/cui//queries.conf # sql cuisql { diff --git a/raddb/mods-available/dhcp_sqlippool b/raddb/mods-available/dhcp_sqlippool index 3a85063a62..909b93c7eb 100644 --- a/raddb/mods-available/dhcp_sqlippool +++ b/raddb/mods-available/dhcp_sqlippool @@ -10,7 +10,7 @@ # # The database schemas are available at: # -# raddb/sql/ippool-dhcp//schema.sql +# raddb/mods-config/sql/ippool-dhcp//schema.sql # # $Id$ diff --git a/raddb/mods-available/moonshot-targeted-ids b/raddb/mods-available/moonshot-targeted-ids index bcf69bcf1a..1b27b44b5a 100644 --- a/raddb/mods-available/moonshot-targeted-ids +++ b/raddb/mods-available/moonshot-targeted-ids @@ -5,8 +5,8 @@ # # Write Moonshot-*-TargetedId (MSTID) to the database. # -# Schema raddb/sql/moonshot-targeted-ids//schema.sql -# Queries raddb/sql/moonshot-targeted-ids//queries.conf +# Schema raddb/mods-config/sql/moonshot-targeted-ids//schema.sql +# Queries raddb/mods-config/sql/moonshot-targeted-ids//queries.conf # sql moonshot_tid_sql { diff --git a/raddb/mods-available/sqlippool b/raddb/mods-available/sqlippool index 51621b293d..ce317a3f7b 100644 --- a/raddb/mods-available/sqlippool +++ b/raddb/mods-available/sqlippool @@ -2,7 +2,7 @@ # # The database schemas are available at: # -# raddb/sql/ippool//schema.sql +# raddb/mods-config/sql/ippool//schema.sql # # $Id$ diff --git a/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql b/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql index ec9731648e..0fabd43981 100644 --- a/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql +++ b/raddb/mods-config/sql/main/postgresql/extras/cisco_h323_db_schema.sql @@ -10,11 +10,11 @@ * which is designed for simple dialup installations of FreeRadius. * * For this schema to work properly you MUST use - * raddb/sql/postgresql/voip-postpaid.conf rather than - * raddb/sql/postgresql/dialup.conf + * raddb/mods-config/sql/postgresql/voip-postpaid.conf rather than + * raddb/mods-config/sql/postgresql/dialup.conf * * If you wish to do RADIUS Authentication using the same database, - * you MUST use use raddb/sql/postgresql/schema.sql as well as this schema. + * you MUST use use raddb/mods-config/sql/postgresql/schema.sql as well as this schema. */ /*