]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Update raddb/mods-available/client 2409/head
authorJorge Pereira <jpereiran@gmail.com>
Fri, 25 Jan 2019 01:27:14 +0000 (23:27 -0200)
committerJorge Pereira <jpereiran@gmail.com>
Fri, 25 Jan 2019 01:27:14 +0000 (23:27 -0200)
raddb/mods-available/client

index af405abe5efe3999139717121a335cb4dd7c048a..fb7463d070f9d990820025b1ea86f763af1f4802 100644 (file)
@@ -1,44 +1,60 @@
 # -*- text -*-
 #
+# :toc:
+#
 #  $Id$
-
-# This module loads RADIUS clients as needed, rather than when the server
-# starts.
+#######################################################################
+#
+# ## Client Module
+#
+#  The `client` module loads RADIUS clients as needed, rather than when the server
+#  starts.
+#
+#  There are no configuration entries for this module. Instead, it
+#  relies on the "client" configuration.
+#  
+#  You must:
+#
+#  * 1. Link `raddb/sites-enabled/dynamic_clients` to
+#    `raddb/sites-available/dynamic_clients`.
+#
+#  * 2. Define a client network/mask (see top of the above file).
+#
+#  * 3. Uncomment the `directory` entry in that client definition.
+#
+#  * 4. List `client` in the `recv` section of the `client` virtual server.
+#    The default example already does this.
+#
+#  * 5. Put files into the above directory, one per IP.
+#    e.g. file `192.0.2.1` should contain a normal client definition
+#    for a client with IP address `192.0.2.1`.
+#
+#  NOTE: For more documentation, see the file `raddb/sites-available/dynamic-clients`
 #
-#  There are no configuration entries for this module.  Instead, it
-#  relies on the "client" configuration.  You must:
 #
-#      1) link raddb/sites-enabled/dynamic_clients to
-#         raddb/sites-available/dynamic_clients
 #
-#      2) Define a client network/mask (see top of the above file)
+# ## Module supports
 #
-#      3) uncomment the "directory" entry in that client definition
+#  #### maps
 #
-#      4) list "client" in the "authorize" section of the
-#         "client' virtual server.  The default example already
-#         does this.
+#  e.g:
 #
-#      5) put files into the above directory, one per IP.
-#         e.g. file "192.0.2.1" should contain a normal client definition
-#         for a client with IP address 192.0.2.1.
+#              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.
+#              }
 #
-#  For more documentation, see the file:
+# #### %{client:...} expansion
 #
-#      raddb/sites-available/dynamic-clients
+#  e.g:
 #
+#      "%{client:nas_type}"                    # Expands to 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)
 #
-#  The module also supports maps and the %{client:...} expansion.
 #
-#  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.
-#  }
-# 
-#  "%{client:nas_type}"                        # Expands to 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 or
+# ## Default instance
 client {
 
 }