Jeff Carneal <jeff@apex.net>
[freeradius.git] / raddb / radiusd.conf.in
index 607e5e7..67c6ddb 100644 (file)
@@ -492,80 +492,7 @@ modules {
                key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port-Id"
        }
 
-
-       #
-       #  Configuration for the SQL module.
-       #
-       sql {
-       
-               # Connect info
-               server = "localhost"
-               login = "root"
-               password = "rootpass"
-               
-               # Database table configuration
-               radius_db = "radius"
-               acct_table = "radacct"
-               
-               authcheck_table = "radcheck"
-               authreply_table = "radreply"
-               
-               groupcheck_table = "radgroupcheck"
-               groupreply_table = "radgroupreply"
-               
-               usergroup_table = "usergroup"
-               
-               realms_table = "realms"
-               realmgroup_table = "realmgroup"
-               
-               # Check case on usernames
-               sensitiveusername = no
-       
-               # Remove stale session if checkrad does not see a double login
-               deletestalesessions = yes
-       
-               # Print all SQL statements when in debug mode (-x)
-               sqltrace = no
-               sqltracefile = ${logdir}/sqltrace.sql
-
-               # number of sql connections to make to server
-               num_sql_socks = 5
-       }
-
-       #
-       #  A second instance of the same module, with the name "sql2" to identify it
-       #
-       sql sql2 {
-       
-               # Connect info
-               server = "myothersever"
-               login = "root"
-               password = "rootpass"
-               
-               # Database table configuration
-               radius_db = "radius"
-               acct_table = "radacct"
-               
-               authcheck_table = "radcheck"
-               authreply_table = "radreply"
-               
-               groupcheck_table = "radgroupcheck"
-               groupreply_table = "radgroupreply"
-               
-               usergroup_table = "usergroup"
-               
-               realms_table = "realms"
-               realmgroup_table = "realmgroup"
-               
-               # Check case on usernames
-               sensitiveusername = no
-       
-               # Remove stale session if checkrad does not see a double login
-               deletestalesessions = yes
-       
-               # Print all SQL statements when in debug mode (-x)
-               sqltrace = no
-       }
+       $INCLUDE  ${confdir}/sql.conf
 
        radutmp {
                filename = ${logdir}/radutmp