<div dir="ltr"><div>Thanks Ivan,</div>
<div>I was able to find that from this post <a href="http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg17929.html">http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg17929.html</a> too.</div>
<div> </div>
<div>So for Session-Type and for Post-Auth-Type, they should all go into acct_users as well?<br><br></div>
<div class="gmail_quote">On Sat, Mar 7, 2009 at 11:54 PM, <span dir="ltr"><<a href="mailto:tnt@kalik.net">tnt@kalik.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">>Regarding realms handled in the local server (mysql) and accounting...<br>>I have defined realms in the users file such as:<br>> DEFAULT Realm == "<a href="http://example.com/" target="_blank">example.com</a>", Autz-Type := SQL_EXAMPLE<br>
>and in radiusd.conf I add in authorize { }<br>> Autz-Type SQL_EXAMPLE {<br>> sql_example<br>> }<br>>and as expected authentication works just fine by looking up in the current<br>
>database.<br>>To enable accounting for both realms I have done the same thing in<br>>radiusd.conf<br>>for the accounting { } module:<br>> Acct-Type SQL_EXAMPLE {<br>> sql_example<br>
> }<br>>Although this is defined no accounting records are saved in the database.<br>>I am wondering if I'm missing something else like adding the Acct-Type to<br>>the users file too, such as:<br>
>DEFAULT Realm == "<a href="http://example.com/" target="_blank">example.com</a>", Autz-Type := SQL_EXAMPLE, Acct-Type :=<br>>SQL_HOTELNOVA<br>><br><br></div>Put Acct-Type in acct_users.<br><br>Ivan Kalik<br>
Kalik Informatika ISP<br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div>