From: Alan T. DeKok Date: Fri, 23 Jan 2026 23:38:15 +0000 (-0500) Subject: more remove raddb X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c687c29286df90b951fa49eed444900396727c;p=thirdparty%2Ffreeradius-server.git more remove raddb --- diff --git a/doc/antora/modules/ROOT/pages/debugging/startup.adoc b/doc/antora/modules/ROOT/pages/debugging/startup.adoc index f8aad2d1ee3..d2ace3072be 100644 --- a/doc/antora/modules/ROOT/pages/debugging/startup.adoc +++ b/doc/antora/modules/ROOT/pages/debugging/startup.adoc @@ -47,7 +47,7 @@ Next is loads the main `radiusd.conf` file, and some associated ones like `proxy including configuration file /etc/raddb/clients.conf ==== -It now loads all of the modules. The module configuration is usually stored in `raddb/mods-enabled/`, with one module configuration per file in that directory. +It now loads all of the modules. The module configuration is usually stored in `mods-enabled/`, with one module configuration per file in that directory. Sometimes the module you're using does not seem to be loaded or used. In that case, you should check this section to see that the file is loaded. [%collapsible] @@ -286,7 +286,7 @@ The server then creates `Auth-Type`, as set in the virtual servers. These `Auth ## Modules -When the server read the module configuration file above (from `raddb/mods-enabled`), that meant just reding the contents of the file. It is now ready to load the dynamic library which reads that configuration, and which parses the configuration to determine what to do with it. +When the server read the module configuration file above (from `mods-enabled`), that meant just reding the contents of the file. It is now ready to load the dynamic library which reads that configuration, and which parses the configuration to determine what to do with it. Each module will print out it's configuration, along with any errors or warnings it sees when it is loading itself. diff --git a/doc/antora/modules/concepts/pages/virtual_servers.adoc b/doc/antora/modules/concepts/pages/virtual_servers.adoc index c7ba05f9432..4a31d377038 100644 --- a/doc/antora/modules/concepts/pages/virtual_servers.adoc +++ b/doc/antora/modules/concepts/pages/virtual_servers.adoc @@ -196,7 +196,7 @@ processed through the `server inner-tunnel` virtual server. More examples ------------- -For more examples, see the `raddb/sites-enabled/` directory that is +For more examples, see the `sites-enabled/` directory that is included in the server distribution. // Copyright (C) 2025 Network RADIUS SAS. Licenced under CC-by-NC 4.0. diff --git a/doc/antora/modules/developers/pages/bugs.adoc b/doc/antora/modules/developers/pages/bugs.adoc index 8e3363c74be..8b822ee453c 100644 --- a/doc/antora/modules/developers/pages/bugs.adoc +++ b/doc/antora/modules/developers/pages/bugs.adoc @@ -67,7 +67,7 @@ Enable logging in `gdb` via the following commands: and follow the instructions in the proceeding section. You can also enable the `panic_action` given in -`raddb/radiusd.conf`. See the comments in that file for more details +`radiusd.conf`. See the comments in that file for more details about automatically collecting gdb debugging information when the server crashes. diff --git a/doc/antora/modules/reference/pages/man/radiusd.adoc b/doc/antora/modules/reference/pages/man/radiusd.adoc index 71fba24f3a6..2f130b159ab 100644 --- a/doc/antora/modules/reference/pages/man/radiusd.adoc +++ b/doc/antora/modules/reference/pages/man/radiusd.adoc @@ -68,12 +68,12 @@ and therefore not checked. useful for when running the server with "valgrind". *-n name*:: - Read `raddb/name.conf` instead of `raddb/radiusd.conf`. + Read `name.conf` instead of `radiusd.conf`. + Note that by default, the server looks for a configuration file which matches its own name. Creating a soft link from file `foo` to `radiusd`, and then running the program `foo`, will cause the -binary to look for `raddb/foo.conf`. +binary to look for `foo.conf`. *-s*:: Run in "single server" mode. The server normally runs with multiple @@ -136,20 +136,20 @@ will never work, and you will never be able to debug the problem. 4) If you need to add a connection to a database FOO (e.g. LDAP or SQL), then: + -a) Edit `raddb/modules/foo` +a) Edit `modules/foo` + This file contains the default configuration for the module. It contains comments describing what can be configured, and what those configuration entries mean. + -b) Edit `raddb/sites-available/default` +b) Edit `sites-available/default` + This file contains the default policy for the server. e.g. "enable CHAP, MS-CHAP, and EAP authentication". Look in this file for all references to your module "foo". Read the comments, and remove the leading hash '#' from the lines referencing the module. This enables the module. + -c) Edit `raddb/sites-available/inner-tunnel` +c) Edit `sites-available/inner-tunnel` + This file contains the default policy for the "tunneled" portion of certain EAP methods. Perform the same kind of edits as above, for the diff --git a/doc/antora/modules/reference/pages/man/radmin.adoc b/doc/antora/modules/reference/pages/man/radmin.adoc index 59161e11f6c..44e6519574d 100644 --- a/doc/antora/modules/reference/pages/man/radmin.adoc +++ b/doc/antora/modules/reference/pages/man/radmin.adoc @@ -66,7 +66,7 @@ The following command-line options are accepted by the program. functionality is off by default. *-n name*:: - Read `raddb/name.conf` instead of `raddb/radiusd.conf`. + Read `name.conf` instead of `radiusd.conf`. *-q*:: Quiet mode.