Fwd: Realms and Accounting
liran tal
liransgarage at gmail.com
Sun Mar 8 06:09:23 CET 2009
Thanks Ivan,
I was able to find that from this post
http://www.mail-archive.com/freeradius-users@lists.freeradius.org/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, <tnt at kalik.net> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090308/75596ddb/attachment.html>
More information about the Freeradius-Users
mailing list