This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
radius [2008/09/30 13:26] kaiab |
radius [2008/12/18 09:02] kaiab |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | This page is a work in progress | ||
- | |||
====== Radius ====== | ====== Radius ====== | ||
Line 62: | Line 60: | ||
You will probably want to change <code>$INCLUDE ${confdir}/sql.conf</code> to <code>$INCLUDE ${confdir}/postgresql.conf</code> | You will probably want to change <code>$INCLUDE ${confdir}/sql.conf</code> to <code>$INCLUDE ${confdir}/postgresql.conf</code> | ||
- | Add a line that says <code>sql</code> last in the accounting{} section. | + | Add a line that says <code>sql</code> last in the ''accounting{}'' section. |
- | This small script needs to be defined in the main{} section and called from the preacct{} section before the acct_unique script. See examples in the file for where to put it. | + | This small script needs to be defined in the ''main{}'' section and called from the ''preacct{}'' section before the ''acct_unique'' script. See examples in the file for where to put it. |
<code> | <code> | ||
attr_rewrite modify_acctsessionid { | attr_rewrite modify_acctsessionid { | ||
Line 158: | Line 156: | ||
</code> | </code> | ||
+ | |||
+ | ====== Known Issues ====== | ||
+ | |||
+ | We've had one report where the Freeradius-server crashes when it loses connection with the postgresql-database and can no longer push accounting-messages to it. The reason for this is currently unknown, but it seems to be connected with the ''rlm_sql'' and ''rlm_sql_postgresql'' modules for freeradius. |