]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
minor word smithing
authorAlan T. DeKok <aland@freeradius.org>
Fri, 25 Jan 2019 13:49:41 +0000 (08:49 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 25 Jan 2019 13:49:41 +0000 (08:49 -0500)
raddb/mods-available/client

index fb7463d070f9d990820025b1ea86f763af1f4802..39e7b7c79c5a6caccccebddf339e22d8a16ec67c 100644 (file)
@@ -22,7 +22,7 @@
 #
 #  * 3. Uncomment the `directory` entry in that client definition.
 #
-#  * 4. List `client` in the `recv` section of the `client` virtual server.
+#  * 4. List `client` in the `new client` section of the `client` virtual server.
 #    The default example already does this.
 #
 #  * 5. Put files into the above directory, one per IP.
 #
 #  NOTE: For more documentation, see the file `raddb/sites-available/dynamic-clients`
 #
+# ## Module Capabilities
 #
+#  #### Maps
 #
-# ## Module supports
-#
-#  #### maps
+#  The client files can be used as simple databases.  They can map from
+#  a client configuration item to an attribute at run-time via a map.
+#  This map can be placed in any `unlang` processing section/
 #
 #  e.g:
 #
-#              map client [<ipaddr>] {
+#              map client <ipaddr> {
 #                      Tmp-String-0 := 'nas_type'
 #                      Tmp-String-1 := 'shortname'
 #                      Tmp-String-3 += 'groups'        # Creates multiple attributes from custom group
-#                                                                              # attribute associated with the client.
+#                                                      # attribute associated with the client.
 #              }
 #
 # #### %{client:...} expansion
 #
+#  The client can also return one configuration item in a dynamic
+#  string expansion.
+#
 #  e.g:
 #
-#      "%{client:nas_type}"                    # Expands to client's `nas_type` (or "" if nas_type not set)
+#      "%{client:nas_type}"            # Expands to the current client's `nas_type` (or "" if nas_type not set)
 #      "%{client:<ipaddr>.nas_type}"   # Expands to the specified client's nas_type (or "" if nas_type not set)
 #
 #
 # ## Default instance
+#
 client {
 
 }