<div dir="ltr"><div> </div>
<div>This issue has yet to be resolved for me, running 1.1.7.</div>
<div>Any pointers?</div>
<div><br><br> </div>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">liran tal</b> <span dir="ltr"><<a href="mailto:liransgarage@gmail.com">liransgarage@gmail.com</a>></span><br>Date: Sun, Feb 22, 2009 at 12:24 AM<br>
Subject: Realms and Accounting<br>To: FreeRadius users mailing list <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br><br><br>
<div dir="ltr">
<div>Hey,</div>
<div> </div>
<div>Regarding realms handled in the local server (mysql) and accounting...</div>
<div>I have defined realms in the users file such as:</div>
<div> DEFAULT Realm == "<a href="http://example.com/" target="_blank">example.com</a>", Autz-Type := SQL_EXAMPLE</div>
<div>and in radiusd.conf I add in authorize { }</div>
<div> Autz-Type SQL_EXAMPLE {<br> sql_example</div>
<div> }</div>
<div>and as expected authentication works just fine by looking up in the current database.<br>To enable accounting for both realms I have done the same thing in radiusd.conf</div>
<div>for the accounting { } module:</div>
<div> Acct-Type SQL_EXAMPLE {<br> sql_example<br> }</div>
<div>Although this is defined no accounting records are saved in the database.</div>
<div>I am wondering if I'm missing something else like adding the Acct-Type to the users file too, such as:</div>
<div>DEFAULT Realm == "<a href="http://example.com/" target="_blank">example.com</a>", Autz-Type := SQL_EXAMPLE, Acct-Type := SQL_HOTELNOVA</div>
<div> </div>
<div> </div>
<div> </div>
<div>Regards,</div></div></div><br></div>