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,
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to