<div dir="ltr">You can do it and it will solve your problem but it can create small overhead because radius tries to write into database and it will be rejected. you will see this in your log files.<br><br>Another idea is to change NAS or you can create cron script to delete duplicated entries. <br>
<br>MT<br><br><div class="gmail_quote">On Mon, Oct 6, 2008 at 5:35 PM, Santiago Balaguer García <span dir="ltr"><<a href="mailto:santiagoawa@hotmail.com">santiagoawa@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,<br>
<br>
I am using a freeradius 1.1.7 + postgres since 3 years ago. The AAA service works fine, however my radacct table has sonetimes duplicate registers. <br>
I realize that it happens when a NAS does not have a realiable Internet conection, so NAS send the accounting packets several times.<br>
<br>
My radacct table has 'radacctid' as primary key. I realize that two (or more) duplicate registers share 'acctsessionid' and 'acctuniqueid' fields amog others.<br>
I know 'acctsessionid' field can be the same in diferent NASes.<br>
Would be a good idea change the primery key by 'acctuniqueid' ? <br>
<br>
Santiago<br><br><hr>La cartera, las gafas. ¿te falta algo? <a href="http://www.vivelive.com/abecedario" target="_blank">Ahora llévate Messenger en tu móvil</a></div>
<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>