Thanks Ivan, I was able to find that from this post http://www.mail-archive.com/[email protected]/msg17929.html too.
So for Session-Type and for Post-Auth-Type, they should all go into acct_users as well? On Sat, Mar 7, 2009 at 11:54 PM, <[email protected]> wrote: > >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 > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html >
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

