1 dnl There's no runtime magic here. This is included at compile time to make
2 dnl a default etc/raddb/radiusd.conf for installation.
4 INSERT_GLOBAL_CONFIG(5)dnl
6 INSERT_MODULE_INSTANTIATION(5)dnl
8 # Configuration for the SQL module.
16 # Database table configuration
18 acct_table = "radacct"
20 authcheck_table = "radcheck"
21 authreply_table = "radreply"
23 groupcheck_table = "radgroupcheck"
24 groupreply_table = "radgroupreply"
26 usergroup_table = "usergroup"
28 realms_table = "realms"
29 realmgroup_table = "realmgroup"
31 # Check case on usernames
32 sensitiveusername = no
34 # Remove stale session if checkrad does not see a double login
35 deletestalesessions = yes
37 # Print all SQL statements when in debug mode (-x)
39 sqltracefile = ${logdir}/sqltrace.sql
41 # number of sql connections to make to server
46 # A second instance of the same module, with the name "sql2" to identify it
51 server = "myothersever"
55 # Database table configuration
57 acct_table = "radacct"
59 authcheck_table = "radcheck"
60 authreply_table = "radreply"
62 groupcheck_table = "radgroupcheck"
63 groupreply_table = "radgroupreply"
65 usergroup_table = "usergroup"
67 realms_table = "realms"
68 realmgroup_table = "realmgroup"
70 # Check case on usernames
71 sensitiveusername = no
73 # Remove stale session if checkrad does not see a double login
74 deletestalesessions = yes
76 # Print all SQL statements when in debug mode (-x)
79 INSERT_DEF_AUTHENTICATION(5)dnl
81 # By grouping modules together in an authtype block, that authtype will be
82 # tried on each module in sequence until one returns REJECT or OK. This
83 # allows authentication failover if the first SQL server has crashed, for
89 INSERT_DEF_AUTHORIZATION(5)dnl
91 INSERT_DEF_PREACCOUNTING(5)dnl
93 INSERT_DEF_ACCOUNTING(5)dnl
95 INSERT_DEF_SESSION(5)dnl