]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
formatting
authorAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jun 2019 14:06:19 +0000 (10:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 19 Jun 2019 14:06:19 +0000 (10:06 -0400)
doc/unlang/xlat.adoc
raddb/mods-available/eap
raddb/mods-config/files/authorize
raddb/sites-available/default
raddb/sites-available/dhcp

index d4501124c146c85dd56e68ec961a4f4acbd6cb6d..f556fd7880dff44b9cfc0b2a7ff3a519f1443820 100644 (file)
@@ -42,8 +42,8 @@ or to modules that will return a string value.
 == Character Escaping
 
 Some characters need to be escaped within a dynamically expanded
-string %{...}. The % character is used for variable expansion, so a
-literal % character can be created by using %%.
+string `%{...}`. The `%` character is used for variable expansion, so a
+literal `%` character can be created by using `%%`.
 
 Other than within a dynamically expanded string, very little
 character escaping is needed. The rules of the enclosing string context
index 2195a5c7fc79ef8c4bb79ae73f2f2d74f06160aa..cd54e474b256ccde928153ebc7a8a7eb6be84de4 100644 (file)
@@ -70,7 +70,7 @@ eap {
        #  type:: Only EAP types listed below with a `type = <EAP-Type>` pair will be allowed.
        #
        type = md5
-#      type = pwd
+       type = pwd
 #      type = leap
        type = gtc
        type = tls
@@ -99,16 +99,16 @@ eap {
        #  as is done by other modules. The change from v3 is that the `inner-tunnel` virtual server
        #  is no not used.
        #
-#      pwd {
-#              group = 19
+       pwd {
+               group = 19
 
-#              server_id = theserver@example.com
+               server_id = theserver@example.com
 
                #
                #  fragment_size:: This has the same meaning as for TLS.
                #
-#              fragment_size = 1020
-#      }
+               fragment_size = 1020
+       }
 
        #
        #  ### Cisco LEAP
index 94380eef665f861f6057e2d8847e69021988effd..e6b519d89a790baabea5cc5b7e86b04ebe248966 100644 (file)
@@ -1,3 +1,5 @@
+bob    Cleartext-Password := "bob"
+
 #
 #      Configuration file for the rlm_files module.
 #      Please see rlm_files(5) manpage for more information.
index e6d7e3c1b5fe8e21bf9879c7fd8e3482f73f65bd..6a8fb52333ab8501a20e52ecec91de1230480fe5 100644 (file)
@@ -732,6 +732,13 @@ server default {
 #  ### Receive Access-Request packets
 #
 recv Access-Request {
+       #
+
+       map csv "%{User-Name}" {
+           &reply:Filter-Id := field3
+           &reply:Reply-Message := field4
+       }
+
        #
        #  Take a `User-Name`, and perform some checks on it, for
        #  spaces and other invalid characters. If the `User-Name`
index 2936197fd9d9a3f8572ad2e4277c32bddaecd444..7bb226a723b5ac622543cad6406dcd65e5d473cf 100644 (file)
@@ -44,6 +44,7 @@ listen {
        type = DHCP-Inform
        type = DHCP-Release
        type = DHCP-Decline
+       type = DHCP-Lease-Query
 
        transport = udp