]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove & from &control attribute
authornolade <nola.aunger@inkbridge.io>
Thu, 13 Mar 2025 15:46:20 +0000 (11:46 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 15 Mar 2025 13:12:27 +0000 (15:12 +0200)
perl -p -i -e 's/\&control/control/g' $(git grep -lE '&[a-zA-Z0-9]' doc/antora | egrep -v 'raddb|developers|interpreter|assets')

12 files changed:
doc/antora/modules/howto/pages/eduroam_config.adoc
doc/antora/modules/howto/pages/installation/upgrade.adoc
doc/antora/modules/howto/pages/modules/chap/index.adoc
doc/antora/modules/howto/pages/modules/ldap/authentication.adoc
doc/antora/modules/howto/pages/modules/ldap_authentication_testing.adoc
doc/antora/modules/reference/pages/type/cast.adoc
doc/antora/modules/reference/pages/xlat/builtin.adoc
doc/antora/modules/reference/pages/xlat/concat.adoc
doc/antora/modules/reference/pages/xlat/dict.adoc
doc/antora/modules/reference/pages/xlat/explode.adoc
doc/antora/modules/reference/pages/xlat/pairs.adoc
doc/antora/modules/tutorials/pages/final_group_project.adoc

index 2e5d96906f43f0c11afd58a55b565b99ff526dfc..9444d265d7679d9650c475420e93bfd08ba8afc2 100644 (file)
@@ -169,7 +169,7 @@ server eduroam {
                        Tunnel-Type := VLAN
                        Tunnel-Medium-Type := IEEE-802
                }
-               if (&control:Proxy-To-Realm) {
+               if (control:Proxy-To-Realm) {
                        update reply {
                                Tunnel-Private-Group-ID = ${eduroam_default_guest_vlan}
                        }
index 979f6375d3a40bab1866434d521206ae31c8d511..2d0fefb5d17c3e4985496edd32b668efb0f1a0de 100644 (file)
@@ -990,8 +990,8 @@ key             = User-Name
 In v4 they must now be specified as::
 
 ```
-counter_name    = &control.Daily-Session-Time
-check_name      = &control.Max-Daily-Session
+counter_name    = control.Daily-Session-Time
+check_name      = control.Max-Daily-Session
 reply_name      = reply.Session-Timeout
 key             = "%{Stripped-User-Name || &User-Name}"
 ```
index 0baec65cda2705b79cc7e8ecd1b04badf530270c..c59739ee6b702600b4ff783be2b8b20889cda53b 100644 (file)
@@ -81,7 +81,7 @@ containing `ERROR` or `WARNING`, or the `chap` module name.
 (0)    chap - Setting control.Auth-Type = chap
 (0)    chap (ok)
 ...
-(0)  Found "known good" password in &control.Password.Cleartext
+(0)  Found "known good" password in control.Password.Cleartext
 (0)  Running 'authenticate chap' from file ./raddb/sites-enabled/default
 (0)  authenticate chap {
 (0)    chap - Comparing with "known good" Password.Cleartext
index c10e3f3753432cda1fb39ff229effa9a66cb2b78..462b39c17027676dc211fc5b775d955213b7d4e0 100644 (file)
@@ -44,8 +44,8 @@ On the FreeRADIUS debug terminal side, you should see something like:
 (0)    ldap (updated)
 ...
 (0)    pap - No {...} in &Password.With-Header, re-writing to Password.Cleartext
-(0)    pap - Normalized &control.Password.With-Header -> &control.Password.Cleartext
-(0)    pap - Removing &control.Password.With-Header
+(0)    pap - Normalized control.Password.With-Header -> control.Password.Cleartext
+(0)    pap - Removing control.Password.With-Header
 (0)    pap - Setting control.Auth-Type = pap
 (0)    pap (updated)
 (0)  } # recv Access-Request (updated)
index 3a5e5af31afe56355fb235b1b03cb01def2b1e36..2ec362891da358d63c751f48cef4718c15804dcf 100644 (file)
@@ -40,8 +40,8 @@ On the FreeRADIUS debug terminal side, you should see something like:
 (0)    ldap (updated)
 ...
 (0)    pap - No {...} in &Password-With-Header, re-writing to Cleartext-Password
-(0)    pap - Normalized &control:Password-With-Header -> &control:Cleartext-Password
-(0)    pap - Removing &control:Password-With-Header
+(0)    pap - Normalized control:Password-With-Header -> control:Cleartext-Password
+(0)    pap - Removing control:Password-With-Header
 (0)    pap - Setting control:Auth-Type = pap
 (0)    pap (updated)
 (0)  } # recv Access-Request (updated)
index a64876bd5dada4b7434efb455d5b6057172df144..bccc06947ee95e2788684e8f977fbd58e608c7da 100644 (file)
@@ -137,7 +137,7 @@ reply.
 ----
 control.Reply-Message := { "one", "two" }
 
-reply.Reply-Message := &control.Reply-Message[*]
+reply.Reply-Message := control.Reply-Message[*]
 ----
 
 The following example will take an input string `"192.168.0.1"`, split
index ee52830d4846eb6dc3e331656fc012d03caabb9d..762b616ee3092412fe08e3dfdf27ae19aedb07f6 100644 (file)
@@ -25,8 +25,8 @@ Tmp-String-0 := "Caipirinha"
 Framed-IP-Address := 192.0.2.1
 
 reply += {
-       Reply-Message = "The length of %{control.Tmp-String-0} is %length(&control.Tmp-String-0)"
-       Reply-Message = "The length of %{control.Framed-IP-Address} is %length(&control.Framed-IP-Address)"
+       Reply-Message = "The length of %{control.Tmp-String-0} is %length(control.Tmp-String-0)"
+       Reply-Message = "The length of %{control.Framed-IP-Address} is %length(control.Framed-IP-Address)"
 }
 ----
 
index b4666cb56024643e6e94095dad92c7a110787b9b..7db4055bc254cdacc118e7dc2dd13d2357011c0d 100644 (file)
@@ -39,7 +39,7 @@ string foo
 
 foo += { "a", "c", "c", "d" } # abcd
 
-foo += &control.Tmp-String-0[*]
+foo += control.Tmp-String-0[*]
 ----
 
 // Copyright (C) 2023 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
index b0770e28c388e02bf9a42823b575e61f021aabe4..ca51f04d7b270e41e3ba9b854b45dd4c726a98b7 100644 (file)
@@ -44,7 +44,7 @@ string foo
 
 foo += { "a", "c", "c", "d" } # abcd
 
-foo += &control.Tmp-String-0[*]
+foo += control.Tmp-String-0[*]
 ----
 
 == %explode(<&ref>, <delim>)
@@ -61,7 +61,7 @@ This expansion is the opposite of `%concat( ... )`.
 ----
 control.Tmp-String-0 := "bob.toba@domain.com"
 
-control.Tmp-String-1 := "%explode(&control.Tmp-String-0, '@')"
+control.Tmp-String-1 := "%explode(control.Tmp-String-0, '@')"
 
 reply.Reply-Message := "Welcome %{control.Tmp-String-1[0]}"
 ----
@@ -125,7 +125,7 @@ Serialize attributes as comma-delimited string.
 [source,unlang]
 ----
 control.Tmp-String-0 := { "This is a string", "This is another one" }
-reply.Reply-Message := "Serialize output: %pairs(&control.[*])"
+reply.Reply-Message := "Serialize output: %pairs(control.[*])"
 ----
 
 .Output
index 8e48c55c35a1bb995851d9b16b38488532c6db7a..b79167966f52f91bc3078c8cb3140eaa00a829ae 100644 (file)
@@ -12,7 +12,7 @@ This expansion is the inverse of xref:xlat/concat.adoc[concat].
 ----
 control.Tmp-String-0 := "bob.toba@domain.com"
 
-control.Tmp-String-1 := "%explode(&control.Tmp-String-0, '@')"
+control.Tmp-String-1 := "%explode(control.Tmp-String-0, '@')"
 
 reply.Reply-Message := "Welcome %{control.Tmp-String-1[0]}"
 ----
index 87bebe5e095f74c595ee76b0bf59b6d6110288aa..e87893a0bd4c410e3574ba7b13d0022f3b87ee85 100644 (file)
@@ -11,7 +11,7 @@ Note that there is no "convert string to pairs" function.  Instead, you can simp
 [source,unlang]
 ----
 control.Tmp-String-0 := { "This is a string", "This is another one" }
-reply.Reply-Message := "Serialize output: %pairs(&control.[*])"
+reply.Reply-Message := "Serialize output: %pairs(control.[*])"
 ----
 
 .Output
index a5f7fad349dcdcb374b37358894d6fc2fbab238a..a65852298f698241127e18745cc985f9b75ca205 100644 (file)
@@ -165,7 +165,7 @@ modules being called, when we know the request will be handled by a remote proxy
 [source,unlang]
 ----
 suffix
-if (&control.Proxy-To-Realm) {
+if (control.Proxy-To-Realm) {
        return
 }
 ----