I observed the same double or multiple inserts. with same AcctSessionID and same Start time for some users. This happens with Interim update too. I later changed radius.conf to calculate AcctUniqueID and do updates based on that in
sql.conf but this random occurrence did not go away. May be it is because of the delay. Still not sure why multiple inserts.<br><br><div><span class="gmail_quote">On 8/9/07, <b class="gmail_sendername"><a href="mailto:freeradius-users-request@lists.freeradius.org">
freeradius-users-request@lists.freeradius.org</a></b> <<a href="mailto:freeradius-users-request@lists.freeradius.org">freeradius-users-request@lists.freeradius.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send Freeradius-Users mailing list submissions to<br> <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit
<br> <a href="http://lists.freeradius.org/mailman/listinfo/freeradius-users">http://lists.freeradius.org/mailman/listinfo/freeradius-users</a><br>or, via email, send a message with subject or body 'help' to
<br> <a href="mailto:freeradius-users-request@lists.freeradius.org">freeradius-users-request@lists.freeradius.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:freeradius-users-owner@lists.freeradius.org">
freeradius-users-owner@lists.freeradius.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Freeradius-Users digest..."<br><br><br>Today's Topics:<br><br>
1. Re : Converting PAP to MS-CHAPV2 (Eshun Benjamin)<br> 2. Re: Need help in double logins in radacct (Claudiu Filip)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1
<br>Date: Thu, 9 Aug 2007 09:02:22 +0000 (GMT)<br>From: Eshun Benjamin <<a href="mailto:bkeshun@yahoo.fr">bkeshun@yahoo.fr</a>><br>Subject: Re : Converting PAP to MS-CHAPV2<br>To: FreeRadius users mailing list<br> <
<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>Message-ID: <<a href="mailto:107714.37623.qm@web26014.mail.ukl.yahoo.com">107714.37623.qm@web26014.mail.ukl.yahoo.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Freeradius can dynamically authenticate against PAP or MSCHAP. You would have to have 2 password db. ( eg. unix passwd and smbpasswd). You can not use one db for both. It does it like magic :-) if you have to db.
<br><br>==================================================<br>Benjamin K. Eshun<br><br>----- Message d'origine ----<br>De : Arran Cudbard-Bell <<a href="mailto:A.Cudbard-Bell@sussex.ac.uk">A.Cudbard-Bell@sussex.ac.uk
</a>><br>? : FreeRadius users mailing list <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>Envoy? le : Mercredi, 8 Ao?t 2007, 23h46mn 13s<br>Objet : Re: Converting PAP to MS-CHAPV2
<br><br>Jo?o Mendes wrote:<br>> HI,<br>> I was wondering if freeradius could do the following:<br>> - I have a radius client that needs to talk MS-Chapv2 and a Radius<br>> server that only talks PAP.<br>> Can freeradius convert and proxy the request to the server than
<br>> answer to the client??<br>><br>No,<br>Amongst other things In order for PAP (Plaintext Authentication<br>Protocol) to work, the supplicant needs to provide it's credentials in<br>Plaintext.<br>MSCHAPv2 only provides hashes on the users credentials.
<br>> Thanks<br>> Jo?o Mendes<br>><br>><br>><br>><br>><br>><br>><br>><br>> -<br>> List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html
</a><br>><br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br><br><br><br><br><br><br><br><br> _____________________________________________________________________________
<br>Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070809/c129902e/attachment-0001.html">
https://lists.freeradius.org/pipermail/freeradius-users/attachments/20070809/c129902e/attachment-0001.html</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 9 Aug 2007 12:51:54 +0300<br>From: Claudiu Filip <
<a href="mailto:claudiu@globtel.ro">claudiu@globtel.ro</a>><br>Subject: Re: Need help in double logins in radacct<br>To: FreeRadius users mailing list<br> <<a href="mailto:freeradius-users@lists.freeradius.org">
freeradius-users@lists.freeradius.org</a>><br>Message-ID: <<a href="mailto:1445043763.20070809125154@globtel.ro">1445043763.20070809125154@globtel.ro</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>Thursday, August 9, 2007, 10:38:27 AM, you wrote:
<br>> could help me distinguish why it has double record in mysql. But<br>> when in radius logs,it has one request only.<br>> | RadAcctId | AcctSessionId | UserName |<br>> | 517069 | 3C001FC0 | foo |
<br>> | 517071 | 3C001FC0 | foo |<br>> | 517075 | 3C001FC0 | foo |<br><br>Hi Nelson,<br><br>RadAcctId is an autoincrement field, so it will be different for sure.<br>There is no reason to have those dups unless the INSERT query is run
<br>multiple times.<br><br>1) Are you sure that you have only one request coming to fr?<br> If no, the duplicates can be generated by the radius client if it<br> doesnt get a reply quick enough. Decreasing database response time
<br> and increasing radius timeout on client can help.<br><br>2) AcctStopTime is different?<br> If no, check 1) again :D<br> If yes, maybe the radius client sends a weak AcctSessionId (you can<br> create one using the acct_unique)
<br><br>Best regards,<br><br>Claudiu Filip<br>@: <a href="mailto:claudiu@globtel.ro">claudiu@globtel.ro</a><br><a href="Http://www.globtel.ro">Http://www.globtel.ro</a><br>T:+40344880100<br>F:+40344880113<br><br><br><br><br>
<br>------------------------------<br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br><br><br>End of Freeradius-Users Digest, Vol 28, Issue 30
<br>************************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Nachiketa Rajpurohit