Fwd: Realms and Accounting

liran tal liransgarage at gmail.com
Sat Mar 7 22:39:37 CET 2009


This issue has yet to be resolved for me, running 1.1.7.
Any pointers?



---------- Forwarded message ----------
From: liran tal <liransgarage at gmail.com>
Date: Sun, Feb 22, 2009 at 12:24 AM
Subject: Realms and Accounting
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>


 Hey,

Regarding realms handled in the local server (mysql) and accounting...
I have defined realms in the users file such as:
                 DEFAULT Realm == "example.com", Autz-Type := SQL_EXAMPLE
and in radiusd.conf I add in authorize { }
                 Autz-Type SQL_EXAMPLE {
                         sql_example
                 }
and as expected authentication works just fine by looking up in the current
database.
To enable accounting for both realms I have done the same thing in
radiusd.conf
for the accounting { } module:
                 Acct-Type SQL_EXAMPLE {
                         sql_example
                 }
Although this is defined no accounting records are saved in the database.
I am wondering if I'm missing something else like adding the Acct-Type to
the users file too, such as:
DEFAULT Realm == "example.com", Autz-Type := SQL_EXAMPLE, Acct-Type :=
SQL_HOTELNOVA



Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090307/fabcb3f0/attachment.html>


More information about the Freeradius-Users mailing list