From e9299de274c2082d8357f7cbeb9cc2b398e447fc Mon Sep 17 00:00:00 2001 From: Nick Porter Date: Fri, 11 Jul 2025 17:46:01 +0100 Subject: [PATCH] Update section names referenced in sample modules --- .../pages/raddb/mods-available/redundant_sql.adoc | 4 ++-- .../reference/pages/raddb/mods-available/wimax.adoc | 2 +- .../reference/pages/raddb/mods-available/yubikey.adoc | 7 +++---- raddb/mods-available/redundant_sql | 4 ++-- raddb/mods-available/wimax | 2 +- raddb/mods-available/yubikey | 7 +++---- 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/doc/antora/modules/reference/pages/raddb/mods-available/redundant_sql.adoc b/doc/antora/modules/reference/pages/raddb/mods-available/redundant_sql.adoc index 487a9da85e..bd623d35f2 100644 --- a/doc/antora/modules/reference/pages/raddb/mods-available/redundant_sql.adoc +++ b/doc/antora/modules/reference/pages/raddb/mods-available/redundant_sql.adoc @@ -10,10 +10,10 @@ The `redundant_sql` module handles SQL expansions in a redundant manner. This configuration can be thought of as a `virtual` module. e.g. If you have two redundant SQL servers, and you want to use -them in the authorize and accounting sections, you could place a +them in the recv and accounting sections, you could place a `redundant` block in each section, containing the exact same text. Or, you could uncomment the following lines, and list -`redundant_sql` in the authorize and accounting sections. +`redundant_sql` in the recv and accounting sections. The `virtual` module defined here can also be used with dynamic expansions, under a few conditions: diff --git a/doc/antora/modules/reference/pages/raddb/mods-available/wimax.adoc b/doc/antora/modules/reference/pages/raddb/mods-available/wimax.adoc index c2a054597c..fddb42b63a 100644 --- a/doc/antora/modules/reference/pages/raddb/mods-available/wimax.adoc +++ b/doc/antora/modules/reference/pages/raddb/mods-available/wimax.adoc @@ -7,7 +7,7 @@ The `winmax` module implements the WiMAX attributes as defined in NWG_R1_V1.2.1-Stage-3.pdf -It should be listed in the `authorize` and `preacct` sections. +It should be listed in the `recv Access-Request` and `recv Accounting-Request` sections. NOTE: The module will change the horrible binary version of `link:https://freeradius.org/rfc/rfc2865.html#Calling-Station-Id[Calling-Station-Id]` to the normal format, as specified in RFC diff --git a/doc/antora/modules/reference/pages/raddb/mods-available/yubikey.adoc b/doc/antora/modules/reference/pages/raddb/mods-available/yubikey.adoc index 33459e9339..4e2e5821ce 100644 --- a/doc/antora/modules/reference/pages/raddb/mods-available/yubikey.adoc +++ b/doc/antora/modules/reference/pages/raddb/mods-available/yubikey.adoc @@ -32,15 +32,14 @@ truncated and `request.Vendor-Specific.Yubicon.Yubikey-OTP` will be added. decrypt:: Whether tokens will be decrypted and processed locally. -In the `authorize` section, this module should be placed before the +In the `recv Access-Request` section, this module should be placed before the persistent storage module. -The authenticate section should have the following added: +The following authenticate section should be added: [source,unlang] ---- -Auth-Type yubikey { - #pap +authenticate yubikey { yubikey } ---- diff --git a/raddb/mods-available/redundant_sql b/raddb/mods-available/redundant_sql index 656b9f17b6..ae1c035d1c 100644 --- a/raddb/mods-available/redundant_sql +++ b/raddb/mods-available/redundant_sql @@ -13,10 +13,10 @@ # This configuration can be thought of as a `virtual` module. # # e.g. If you have two redundant SQL servers, and you want to use -# them in the authorize and accounting sections, you could place a +# them in the recv and accounting sections, you could place a # `redundant` block in each section, containing the exact same text. # Or, you could uncomment the following lines, and list -# `redundant_sql` in the authorize and accounting sections. +# `redundant_sql` in the recv and accounting sections. # # The `virtual` module defined here can also be used with dynamic # expansions, under a few conditions: diff --git a/raddb/mods-available/wimax b/raddb/mods-available/wimax index de0ca80aa4..a57a9faf2d 100644 --- a/raddb/mods-available/wimax +++ b/raddb/mods-available/wimax @@ -10,7 +10,7 @@ # The `winmax` module implements the WiMAX attributes as defined in # NWG_R1_V1.2.1-Stage-3.pdf # -# It should be listed in the `authorize` and `preacct` sections. +# It should be listed in the `recv Access-Request` and `recv Accounting-Request` sections. # # NOTE: The module will change the horrible binary version of # `Calling-Station-Id` to the normal format, as specified in RFC diff --git a/raddb/mods-available/yubikey b/raddb/mods-available/yubikey index 41d8f4a3b0..43d99bc54c 100644 --- a/raddb/mods-available/yubikey +++ b/raddb/mods-available/yubikey @@ -39,15 +39,14 @@ yubikey { # # decrypt:: Whether tokens will be decrypted and processed locally. # - # In the `authorize` section, this module should be placed before the + # In the `recv Access-Request` section, this module should be placed before the # persistent storage module. # - # The authenticate section should have the following added: + # The following authenticate section should be added: # # [source,unlang] # ---- - # Auth-Type yubikey { - # #pap + # authenticate yubikey { # yubikey # } # ---- -- 2.47.3