]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
doc: fix some antora issues
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 30 Jan 2024 17:34:40 +0000 (17:34 +0000)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 31 Jan 2024 18:21:50 +0000 (18:21 +0000)
doc/antora/modules/developers/pages/index.adoc
doc/antora/modules/raddb/pages/dictionary.adoc
doc/antora/modules/raddb/pages/radiusd.conf.adoc
doc/antora/modules/raddb/pages/sites-available/ldap_sync.adoc
doc/antora/modules/unlang/.gitignore [deleted file]
raddb/dictionary
raddb/radiusd.conf.in
raddb/sites-available/ldap_sync

index b2bb4cb95dde7f1c892653379f79414b69c9d10a..fb916bb1ca21beacfb057e2392c4791100634014 100644 (file)
@@ -20,7 +20,6 @@ https://doc.freeradius.org/[Doxygen] site.
 ** xref:sbuff.adoc[String buffers] (`sbuff` s)
 ** xref:sbuff-parsing.adoc[Parsing with string buffers]
 ** xref:sbuff-ng.adoc[Sbuff issues]
-* xref:todo.adoc[TODO]
 
 Also see the xref:installation:dependencies.adoc[build
 dependencies] page.
index 6c343ca9fd91937f6a0a9b19f5db1922a642cf9e..a755d0361469c0c589efda1a301035de98f8840b 100644 (file)
@@ -2,25 +2,31 @@
 
 
 
-We recommend using local variables inside of "unlang" sections
-instead of defining attributes in this fine.  See the reference documentation
-for more information on local variables.
+# Local dictionary definitions
+
+This is the local dictionary file which can be
+edited by local administrators.  It will be loaded
+  *after* the main dictionary files are loaded.
 
-This file exists for two purposes:
 
-1) defining local attributes in order to simplify the process of migrating
-   from version 3 to version 4.  We recommend removing these attributes,
-   and using local variables instead.
+NOTE: We recommend using local variables inside of "unlang"
+      sections instead of defining attributes in this file. See
+      the xref:reference:index.adoc[reference documentation]
+      for more information on
+      xref:reference:unlang/local.adoc[local variables].
 
-2) Including alias dictionaries  in order to simplify the process of migrating
-   from version 3 to version 4.  We recommend using the new names where possible.
 
+This file exists for two purposes:
 
-= Local dictionary definitions
+1) defining local attributes in order to simplify the process
+   of migrating from version 3 to version 4.  We recommend
+   removing these attributes, and using local variables instead.
 
-This is the local dictionary file which can be
-edited by local administrators.  It will be loaded
-  *after* the main dictionary files are loaded.
+2) Including alias dictionaries  in order to simplify the
+   process of migrating from version 3 to version 4.  We
+   recommend using the new names where possible.
+
+## Dictionary loading order
 
 FreeRADIUS will automatically load the main dictionary files from:
 
@@ -59,7 +65,7 @@ Any attribute `DEFINE`d here will not go into a packet.
 
 If you do want attributes to go into a RADIUS packet, you
 will need to use VSAs. This means requesting allocation
-of a Private Enterprise Code from http://iana.org/. We
+of a Private Enterprise Code from https://www.iana.org/. We
 strongly suggest doing that *only* if you are a vendor of
 RADIUS equipment.
 
index 2ffd1dc48d5d00dacb856119a3b8f51c91b5f1d6..e6e759f259a5870e5f99570523dfb219e3631f52 100644 (file)
@@ -2,7 +2,7 @@
 
 
 
-= FreeRADIUS server configuration file - @RADIUSD_VERSION_STRING@
+= FreeRADIUS server configuration file - 4.0
 
 Read `man radiusd` before editing this file.  See the section
 titled DEBUGGING.  It outlines a method where you can quickly
@@ -277,7 +277,7 @@ Suppress "secret" values when printing them in debug mode.
 Setting this to "yes" means that the server prints a series
 of dots:
 
-.......
+  .......
 
 instead of the value, for attributes which contain secret
 information.  e.g. User-Name, Tunnel-Password, etc.
index 84d3e330fc5f419daf6560dc672daeffd1a48d51..06d2e0c04e918f1ce1a77093a3744bcc3d8a13c8 100644 (file)
@@ -19,8 +19,9 @@ information or act on it.
 Note: Each of the three implementations of LDAP synchronisation behave
 differently:
 
-https://tools.ietf.org/html/rfc4533[RFC 4533]
---------
+
+== https://tools.ietf.org/html/rfc4533[RFC 4533]
+
 This provides a robust mechanism to allow clients to maintain a
 cached copy of a fragment of a directory by the use of cookies which
 can be returned to the server indicating the last successfully processed
@@ -30,8 +31,9 @@ However, when an object is deleted from the directory, the entry which is
 received only contains the DN, or, if the deletion is reported as part of
 the initial refresh phase it may only be the UUID.
 
-Active Directory
----------------
+
+== Active Directory
+
 Active Directory will only provide updates from the time the query started;
 there is no mechanism to catch up on changes which occurred while the
 client was not connected.  In addition it is not possible to apply a
@@ -42,7 +44,7 @@ has to be enabled on Active Directory and a query must be running which
 includes the Deleted Objects container.
 
 Active Directory will only perform persistent searches if the filter is
-(objectClass=*).  To overcome this limitation, FreeRADIUS allows other
+`(objectClass=*)`.  To overcome this limitation, FreeRADIUS allows other
 LDAP filters to be specified which are applied in FreeRADIUS before passing
 packets to the relevant processing sections.
 
@@ -50,7 +52,7 @@ This implementation of LDAP filters is not intended to be complete, but
 covers the most likely to be required.
 
 One key limitation, due to not having the LDAP schema to interpret attribute
-types, is that >=, <= and bitwise filters are assumed to be on integer values.
+types, is that `>=`, `<=` and bitwise filters are assumed to be on integer values.
 
 If your Active Directory tree contains multiple domains, you will need a
 query for each domain that is of interest; running a query at the base
@@ -61,8 +63,9 @@ Depending on the attributes of interest, the number of notifications of
 changes received can be reduced by running the LDAP query against the
 Global Catalog rather than the normal AD LDAP server.
 
-Persistent Search
------------------
+
+== Persistent Search
+
 Servers implementing Persistent Search have the option to return the full
 directory contents, or simply start reporting changes from the point when
 the query was run.
@@ -71,20 +74,20 @@ The draft says that servers SHOULD include a changeNumber when reporting
 changes to keep track of progress - however this has not been observed in
 any testing.  If this is implemented, then it can behave in a similar
 manner to the cookie defined in https://tools.ietf.org/html/rfc4533[RFC 4533]; a search against the change log
-with a filter of (changeNumber>=n) could be used to read changes since
+with a filter of `(changeNumber>=n)` could be used to read changes since
 change number 'n'.
 
 
-Note on user group membership
------------------------------
-Many directories provide a virtual memberOf attribute which lists
+== Note on user group membership
+
+Many directories provide a virtual `memberOf` attribute which lists
 which groups a user is a member of.
 
 With the directories which have been tested, including OpenLDAP and
-Active Directory it has been observed that modifying group member lists
+Active Directory, it has been observed that modifying group member lists
 does not result in notification of changes to the users, even though
 other modifications to the user will result in a notification which
-can include the memberOf attribute.
+can include the `memberOf` attribute.
 
 Instead group membership changes are reported as changes to the group object.
 
@@ -101,6 +104,7 @@ configuration items.
 
 
 
+
 Local attributes which are used to cache results from LDAP
 
 
diff --git a/doc/antora/modules/unlang/.gitignore b/doc/antora/modules/unlang/.gitignore
deleted file mode 100644 (file)
index c5722d7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-!*.adoc
index 1d36a709f30880f6dba9fa3121eab7435baef4fe..0c9842503067de7e18739e385bb2662a13e333ae 100644 (file)
@@ -5,26 +5,31 @@
 
 #######################################################################
 #
-#  We recommend using local variables inside of "unlang" sections
-#  instead of defining attributes in this fine.  See the reference documentation
-#  for more information on local variables.
+#  # Local dictionary definitions
 #
-#  This file exists for two purposes:
+#  This is the local dictionary file which can be
+#  edited by local administrators.  It will be loaded
+#  *after* the main dictionary files are loaded.
 #
-#  1) defining local attributes in order to simplify the process of migrating
-#     from version 3 to version 4.  We recommend removing these attributes,
-#     and using local variables instead.
 #
-#  2) Including alias dictionaries  in order to simplify the process of migrating
-#     from version 3 to version 4.  We recommend using the new names where possible.
+#  NOTE: We recommend using local variables inside of "unlang"
+#        sections instead of defining attributes in this file. See
+#        the xref:reference:index.adoc[reference documentation]
+#        for more information on
+#        xref:reference:unlang/local.adoc[local variables].
 #
-#######################################################################
 #
-#  = Local dictionary definitions
+#  This file exists for two purposes:
 #
-#  This is the local dictionary file which can be
-#  edited by local administrators.  It will be loaded
-#  *after* the main dictionary files are loaded.
+#  1) defining local attributes in order to simplify the process
+#     of migrating from version 3 to version 4.  We recommend
+#     removing these attributes, and using local variables instead.
+#
+#  2) Including alias dictionaries  in order to simplify the
+#     process of migrating from version 3 to version 4.  We
+#     recommend using the new names where possible.
+#
+#  ## Dictionary loading order
 #
 #  FreeRADIUS will automatically load the main dictionary files from:
 #
@@ -63,7 +68,7 @@
 #
 #  If you do want attributes to go into a RADIUS packet, you
 #  will need to use VSAs. This means requesting allocation
-#  of a Private Enterprise Code from http://iana.org/. We
+#  of a Private Enterprise Code from https://www.iana.org/. We
 #  strongly suggest doing that *only* if you are a vendor of
 #  RADIUS equipment.
 #
index b03ccfdda828719b0e66ceefbe8d5897c7185450..87cd963cd0a430f5ecc9999bc30a477f2d1d132e 100644 (file)
@@ -5,7 +5,7 @@
 
 #######################################################################
 #
-#  = FreeRADIUS server configuration file - @RADIUSD_VERSION_STRING@
+#  = FreeRADIUS server configuration file - @RADIUSD_VERSION_MAJOR@.@RADIUSD_VERSION_MINOR@
 #
 #  Read `man radiusd` before editing this file.  See the section
 #  titled DEBUGGING.  It outlines a method where you can quickly
@@ -309,7 +309,7 @@ log {
        #  Setting this to "yes" means that the server prints a series
        #  of dots:
        #
-       #       .......
+       #    .......
        #
        #  instead of the value, for attributes which contain secret
        #  information.  e.g. User-Name, Tunnel-Password, etc.
@@ -455,8 +455,8 @@ security {
        #  that it should be impossible to break out of the chroot.
        #
        #  If you are worried about security issues related to this
-       #  use of chdir, then simply ensure that the "raddb" directory
-       #  is inside of the chroot, and be sure to do "cd raddb"
+       #  use of chdir, then simply ensure that the `raddb` directory
+       #  is inside of the chroot, and be sure to do `cd raddb`
        #  BEFORE starting the server.
        #
        #  If the server is statically linked, then the only files
index 16dc7f27a8a801e19ca687d23ca98f22fab67456..030ec651f116fe87427aac540a4a0e2b0150040a 100644 (file)
@@ -21,8 +21,9 @@
 #  Note: Each of the three implementations of LDAP synchronisation behave
 #  differently:
 #
-#  RFC 4533
-#  --------
+#
+#  == RFC 4533
+#
 #  This provides a robust mechanism to allow clients to maintain a
 #  cached copy of a fragment of a directory by the use of cookies which
 #  can be returned to the server indicating the last successfully processed
@@ -32,8 +33,9 @@
 #  received only contains the DN, or, if the deletion is reported as part of
 #  the initial refresh phase it may only be the UUID.
 #
-#  Active Directory
-#  ---------------
+#
+#  == Active Directory
+#
 #  Active Directory will only provide updates from the time the query started;
 #  there is no mechanism to catch up on changes which occurred while the
 #  client was not connected.  In addition it is not possible to apply a
@@ -44,7 +46,7 @@
 #  includes the Deleted Objects container.
 #
 #  Active Directory will only perform persistent searches if the filter is
-#  (objectClass=*).  To overcome this limitation, FreeRADIUS allows other
+#  `(objectClass=*)`.  To overcome this limitation, FreeRADIUS allows other
 #  LDAP filters to be specified which are applied in FreeRADIUS before passing
 #  packets to the relevant processing sections.
 #
@@ -52,7 +54,7 @@
 #  covers the most likely to be required.
 #
 #  One key limitation, due to not having the LDAP schema to interpret attribute
-#  types, is that >=, <= and bitwise filters are assumed to be on integer values.
+#  types, is that `>=`, `<=` and bitwise filters are assumed to be on integer values.
 #
 #  If your Active Directory tree contains multiple domains, you will need a
 #  query for each domain that is of interest; running a query at the base
@@ -63,8 +65,9 @@
 #  changes received can be reduced by running the LDAP query against the
 #  Global Catalog rather than the normal AD LDAP server.
 #
-#  Persistent Search
-#  -----------------
+#
+#  == Persistent Search
+#
 #  Servers implementing Persistent Search have the option to return the full
 #  directory contents, or simply start reporting changes from the point when
 #  the query was run.
 #  changes to keep track of progress - however this has not been observed in
 #  any testing.  If this is implemented, then it can behave in a similar
 #  manner to the cookie defined in RFC 4533; a search against the change log
-#  with a filter of (changeNumber>=n) could be used to read changes since
+#  with a filter of `(changeNumber>=n)` could be used to read changes since
 #  change number 'n'.
 #
 #
-#  Note on user group membership
-#  -----------------------------
-#  Many directories provide a virtual memberOf attribute which lists
+#  == Note on user group membership
+#
+#  Many directories provide a virtual `memberOf` attribute which lists
 #  which groups a user is a member of.
 #
 #  With the directories which have been tested, including OpenLDAP and
-#  Active Directory it has been observed that modifying group member lists
+#  Active Directory, it has been observed that modifying group member lists
 #  does not result in notification of changes to the users, even though
 #  other modifications to the user will result in a notification which
-#  can include the memberOf attribute.
+#  can include the `memberOf` attribute.
 #
 #  Instead group membership changes are reported as changes to the group object.
 #