Realms and Accounting
liran tal
liransgarage at gmail.com
Sat Feb 21 23:24:40 CET 2009
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/20090222/2054537d/attachment.html>
More information about the Freeradius-Users
mailing list