]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove more '&'
authorAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 15:24:23 +0000 (10:24 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 6 Mar 2025 16:49:40 +0000 (11:49 -0500)
src/tests/keywords/radius.conf

index 3fc1e844b0620963cae1741d5a2938bdc33882fb..f0b9b527211f510c8d97e023b1c81a1260b0093c 100644 (file)
@@ -58,18 +58,18 @@ modules {
 
        mschap {
                attributes {
-                       username = &User-Name
-                       chap_error = &Vendor-Specific.Microsoft.CHAP-Error
-                       chap_challenge = &Vendor-Specific.Microsoft.CHAP-Challenge
-                       chap_response = &Vendor-Specific.Microsoft.CHAP-Response
-                       chap2_response = &Vendor-Specific.Microsoft.CHAP2-Response
-                       chap2_success = &Vendor-Specific.Microsoft.CHAP2-Success
-                       chap_mppe_keys = &Vendor-Specific.Microsoft.CHAP-MPPE-Keys
-                       mppe_encryption_policy = &Vendor-Specific.Microsoft.MPPE-Encryption-Policy
-                       mppe_recv_key = &Vendor-Specific.Microsoft.MPPE-Recv-Key
-                       mppe_send_key = &Vendor-Specific.Microsoft.MPPE-Send-Key
-                       mppe_encryption_types = &Vendor-Specific.Microsoft.MPPE-Encryption-Types
-                       chap2_cpw =  &Vendor-Specific.Microsoft.CHAP2-CPW
+                       username = User-Name
+                       chap_error = Vendor-Specific.Microsoft.CHAP-Error
+                       chap_challenge = Vendor-Specific.Microsoft.CHAP-Challenge
+                       chap_response = Vendor-Specific.Microsoft.CHAP-Response
+                       chap2_response = Vendor-Specific.Microsoft.CHAP2-Response
+                       chap2_success = Vendor-Specific.Microsoft.CHAP2-Success
+                       chap_mppe_keys = Vendor-Specific.Microsoft.CHAP-MPPE-Keys
+                       mppe_encryption_policy = Vendor-Specific.Microsoft.MPPE-Encryption-Policy
+                       mppe_recv_key = Vendor-Specific.Microsoft.MPPE-Recv-Key
+                       mppe_send_key = Vendor-Specific.Microsoft.MPPE-Send-Key
+                       mppe_encryption_types = Vendor-Specific.Microsoft.MPPE-Encryption-Types
+                       chap2_cpw =  Vendor-Specific.Microsoft.CHAP2-CPW
                }
        }
 
@@ -120,7 +120,7 @@ $INCLUDE policy.conf
        }
 
        accept {
-               &control.Auth-Type := ::Accept
+               control.Auth-Type := ::Accept
        }
 
 }
@@ -145,7 +145,7 @@ server default {
        }
 
        recv Access-Request {
-               &control.Password.Cleartext := "hello"
+               control.Password.Cleartext := "hello"
 
                #
                #  Include the test file specified by the
@@ -159,7 +159,7 @@ server default {
                        $INCLUDE ${keyword}/$ENV{KEYWORD}
                }
 
-               if (&control.Password.Cleartext) {
+               if (control.Password.Cleartext) {
                        pap
                }
                else {
@@ -180,7 +180,7 @@ server second {
        }
 
        recv Access-Request {
-               &reply.Reply-Message := "call second"
+               reply.Reply-Message := "call second"
 
                accept
        }