diff --git a/smradiusd.conf b/smradiusd.conf index 02df3c1f7393a422af136f7ce84079e2eba538e7..6d4f4ab4fcf7ca0bf11c5a93ea7a6c7e84407c5a 100644 --- a/smradiusd.conf +++ b/smradiusd.conf @@ -108,6 +108,31 @@ mod_userdb_sql EOT + +[accounting] +plugins=<<EOT +mod_accounting_test +EOT + + + + +[mod_accounting_sql] + +sql_accounting_query=<<EOT +SELECT xyz FROM Accounting WHERE +EOT + +sql_accounting_insert=<<EOT +INSERT INTO Accounting () VALUES () +EOT + +sql_accounting_update=<<EOT +UPDATE Accounting SET +EOT + + + [mod_userdb_sql] sql_password_query=<<EOT @@ -131,28 +156,6 @@ SELECT Attribute, Operator, Value FROM group_attributes WHERE GroupID = ${group. EOT -# ======================================================================================== - - -[accounting] -plugins=<<EOT -mod_acct_topups -mod_acct_capping # use a special field, which includes topups -EOT - -sql_accounting_query=<<EOT -SELECT xyz FROM Accounting WHERE -EOT - -sql_accounting_insert=<<EOT -INSERT INTO Accounting () VALUES () -EOT - -sql_accounting_update=<<EOT -UPDATE Accounting SET -EOT - -