Note recent updates
[freeradius.git] / doc / Autz-Type
index ac4f189..6533f73 100644 (file)
@@ -12,10 +12,10 @@ authorize{
        suffix
        preprocess
        # whatever other authorize modules here
-       autztype Ldap{
+       Autz-Type Ldap{
                ldap
        }
-       autztype SQL{
+       Autz-Type SQL{
                sql
        }
        files
@@ -23,7 +23,7 @@ authorize{
 
 What happens is that the first time the authorize section is examined the
 suffix, preprocess and files modules are executed.  If Autz-Type is set
-after that the server core checks for any matching autztype subsection.
+after that the server core checks for any matching Autz-Type subsection.
 If one is found it is called.  The users file should look something
 like this:
 
@@ -41,10 +41,10 @@ belonging to other companies.  In detail:
 radiusd.conf-----------------
 
 authenticate{
-       authtype customer1{
+       Auth-Type customer1{
                ldap1
        }
-       authtype customer2{
+       Auth-Type customer2{
                ldap2
        }
 }
@@ -52,10 +52,10 @@ authenticate{
 authorize{
        preprocess
        suffix
-       autztype customer1{
+       Autz-Type customer1{
                ldap1
        }
-       autztype customer2{
+       Autz-Type customer2{
                ldap2
        }
        files
@@ -65,16 +65,15 @@ authorize{
 
 users file-------------------
 
-DEFAULT Realm == "customer1", Autz-Type := customer1, Auth-Type := customer2
+DEFAULT Realm == "customer1", Autz-Type := customer1, Auth-Type := customer1
 
 DEFAULT Realm == "customer2", Autz-Type := customer2, Auth-Type := customer2
 
 ----------------------------
 
-Apart from Autz-Type the server also supports the use of PostAuth-Type,Session-Type
-and Acct-Type for the corresponding sections. The corresponding section names in the
-radiusd.conf file are post-authtype,sestype and accttype.
-So for example:
+Apart from Autz-Type the server also supports the use of
+Acct-Type, Session-Type and Post-Auth-Type for the corresponding sections.
+The corresponding section names in the radiusd.conf file are the same.  So for example:
 
 users file---
 
@@ -82,9 +81,9 @@ DEFAULT Called-Station-Id == "236473", Session-Type := SQL
 
 radiusd.conf---
 
-session{
+session {
        radutmp
-       sesstype SQL {
+       Session-Type SQL {
                sql
        }
 }