Tie radrelay && detail writer together
authorAlan T. DeKok <aland@freeradius.org>
Mon, 17 Oct 2011 12:44:14 +0000 (14:44 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 17 Oct 2011 12:44:14 +0000 (14:44 +0200)
So that people can read the documentation and examples
and have it work

raddb/modules/detail
raddb/radrelay.conf.in

index da6ee3e..11005dc 100644 (file)
@@ -34,6 +34,12 @@ detail {
        detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
 
        #
+       #  If you are using radrelay, delete the above line for "detailfile",
+       #  and use this one instead:
+       #
+#      detailfile = ${radacctdir}/detail
+
+       #
        #  The Unix-style permissions on the 'detail' file.
        #
        #  The detail file often contains secret or private
index d3d6c93..4b639b1 100644 (file)
@@ -142,9 +142,9 @@ listen {
        type = detail
 
        #
-       #  The "radacctdir" parameter below replaces the "-a" command-
-       #  line option in radrelay.  The "detail" parameter replaces
-       #  the "detailfile" command-line option in radrelay
+       #  The filename here should be the same as the one used by the
+       #  main radiusd program.  It writes the file using the "detail"
+       #  module (see raddb/modules/detail).
        #
        filename = ${radacctdir}/detail
        load_factor = 90