Fwd: Realms and Accounting
tnt at kalik.net
tnt at kalik.net
Sat Mar 7 22:54:25 CET 2009
>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
>
Put Acct-Type in acct_users.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list