]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3103] Removed not implemented realm
authorFrancis Dupont <fdupont@isc.org>
Tue, 23 Dec 2025 13:32:16 +0000 (14:32 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 20 Jan 2026 16:29:56 +0000 (17:29 +0100)
doc/sphinx/arm/ext-radius.rst
src/hooks/dhcp/radius/radius.cc
src/hooks/dhcp/radius/radius.dox
src/hooks/dhcp/radius/radius_parsers.cc

index 11b3cb81909202f0e7e80310c7ceb5a4b9fbd0e0..fbd514412ad7626753b681c10d119f88d12095aa 100644 (file)
@@ -148,8 +148,6 @@ flags:
    a default. The substitution happens for all packets that did not match a
    selector.
 
--  ``realm`` (default ``""``) - is the default realm.
-
 -  ``reselect-subnet-address`` (default ``false``) - enables subnet reselection
    according to the value of the Framed-IP-Address or, respectively,
    the Framed-IPv6-Address attribute from the RADIUS access response. With this
index efdfbacdfad90500cfe9aed0fcd0280d95e35d00..fb18de4be3dc7d75076d28723ba64f1c438cef9f 100644 (file)
@@ -443,8 +443,6 @@ ElementPtr RadiusImpl::toElement() const {
     result->set("identifier-type6",
                 Element::create(Host::getIdentifierName(id_type6_)));
 
-    // realm.
-
     // reselect-subnet-address.
     result->set("reselect-subnet-address",
                 Element::create(reselect_subnet_address_));
index aed95e2224ebaac3d8277215e1dc7d7759457c00..4a7ed9d47601abdf133e25cd4862442685d32d82 100644 (file)
@@ -95,8 +95,6 @@ The global configuration flags are:
      attempted first, and if successful, it prevents the function of
      reselect-subnet-address from coming into effect.
 
- - realm (default "") is the default realm.
-
  - retries (default 3) is the number of retries before trying the next
    server. Not supported for asynchronous communication.
 
index 4e07a3f88718f772f3f0d31938af35d51cc1f451..dbb632f3c481300dd3cf73684f5407efe754819b 100644 (file)
@@ -38,7 +38,7 @@ RadiusConfigParser::RADIUS_KEYWORDS = {
     "bindaddr", "canonical-mac-address", "client-id-pop0",
     "client-id-printable", "deadtime", "dictionary",
     "extract-duid", "identifier-type4", "identifier-type6",
-    "nas-ports", "realm",
+    "nas-ports",
     "reselect-subnet-address", "reselect-subnet-pool",
     "retries", "session-history", "thread-pool-size", "timeout",
     "comment" // not saved for toElement
@@ -55,7 +55,6 @@ const SimpleDefaults RadiusConfigParser::RADIUS_DEFAULTS = {
     { "extract-duid",             Element::boolean, "true" },
     { "identifier-type4",         Element::string,  "client-id" },
     { "identifier-type6",         Element::string,  "duid" },
-    { "realm",                    Element::string,  "" },
     { "reselect-subnet-address",  Element::boolean, "false" },
     { "reselect-subnet-pool",     Element::boolean, "false" },
     { "retries",                  Element::integer, "3" },
@@ -163,8 +162,6 @@ RadiusConfigParser::parse(ElementPtr& config) {
         const ConstElementPtr& id_type6 = config->get("identifier-type6");
         riref.id_type6_ = Host::getIdentifierType(id_type6->stringValue());
 
-        // realm. Ignored.
-
         // reselect-subnet-address.
         const ConstElementPtr& resel_addr =
             config->get("reselect-subnet-address");