allow for old-style names, too
[freeradius.git] / raddb / sites-available / default
index b3d38e2..0834075 100644 (file)
@@ -262,12 +262,22 @@ authorize {
        filter_username
 
        #
+       #  Some broken equipment sends passwords with embedded zeros.
+       #  i.e. the debug output will show
+       #
+       #       User-Password = "password\000\000"
+       #
+       #  This policy will fix it to just be "password".
+       #
+#      filter_password
+
+       #
        #  The preprocess module takes care of sanitizing some bizarre
        #  attributes in the request, and turning them into attributes
        #  which are more standard.
        #
-       #  It takes care of processing the 'raddb/hints' and the
-       #  'raddb/huntgroups' files.
+       #  It takes care of processing the 'raddb/mods-config/preprocess/hints' 
+       #  and the 'raddb/mods-config/preprocess/huntgroups' files.
        preprocess
 
        #  If you intend to use CUI and you require that the Operator-Name
@@ -337,15 +347,14 @@ authorize {
        #  It also sets the EAP-Type attribute in the request
        #  attribute list to the EAP type from the packet.
        #
-       #  As of 2.0, the EAP module returns "ok" in the authorize stage
-       #  for TTLS and PEAP.  In 1.x, it never returned "ok" here, so
-       #  this change is compatible with older configurations.
+       #  The EAP module returns "ok" if it is not yet ready to
+       #  authenticate the user.  The configuration below checks for
+       #  that code, and stops processing the "authorize" section if
+       #  so.
        #
-       #  The example below uses module failover to avoid querying all
-       #  of the following modules if the EAP module returns "ok".
-       #  Therefore, your LDAP and/or SQL servers will not be queried
-       #  for the many packets that go back and forth to set up TTLS
-       #  or PEAP.  The load on those servers will therefore be reduced.
+       #  Any LDAP and/or SQL servers will not be queried for the
+       #  initial set of packets that go back and forth to set up
+       #  TTLS or PEAP.
        #
        eap {
                ok = return
@@ -355,19 +364,20 @@ authorize {
        #  Pull crypt'd passwords from /etc/passwd or /etc/shadow,
        #  using the system API's to get the password.  If you want
        #  to read /etc/passwd or /etc/shadow directly, see the
-       #  passwd module in radiusd.conf.
+       #  mods-available/passwd module.
        #
 #      unix
 
        #
-       #  Read the 'users' file
+       #  Read the 'users' file.  In v3, this is located in
+       #  raddb/mods-config/files/authorize
        files
 
        #
        #  Look in an SQL database.  The schema of the database
        #  is meant to mirror the "users" file.
        #
-       #  See "Authorization Queries" in sql.conf
+       #  See "Authorization Queries" in mods-available/sql
        -sql
 
        #
@@ -464,6 +474,11 @@ authenticate {
        }
 
        #
+       #  For old names, too.
+       #
+       mschap
+
+       #
        #  If you have a Cisco SIP server authenticating against
        #  FreeRADIUS, uncomment the following line, and the 'digest'
        #  line in the 'authorize' section.
@@ -597,7 +612,7 @@ accounting {
        #
        #  Log traffic to an SQL database.
        #
-       #  See "Accounting queries" in sql.conf
+       #  See "Accounting queries" in mods-available/sql
        -sql
 
        #
@@ -645,7 +660,7 @@ session {
 #      radutmp
 
        #
-       #  See "Simultaneous Use Checking Queries" in sql.conf
+       #  See "Simultaneous Use Checking Queries" in mods-available/sql
 #      sql
 }
 
@@ -695,7 +710,7 @@ post-auth {
        #
        #  After authenticating the user, do another SQL query.
        #
-       #  See "Authentication Logging Queries" in sql.conf
+       #  See "Authentication Logging Queries" in mods-available/sql
        -sql
 
        #
@@ -895,7 +910,7 @@ post-proxy {
        #  Accounting-Requests from the NAS, but only writes
        #  accounting packets to disk if the home server is down.
        #
-#      Post-Proxy-Type Fail {
+#      Post-Proxy-Type Fail-Accounting {
 #                      detail
 #      }
 }