<div dir="ltr">Hello,<br><br>When 2 users  with same username try to login to the server at the same time; Radius server receives Auth and Acct packets in the following order:<br><br>1- Auth from user1<br>2- Auth from user2<br>
3- Acct from user1<br>4- Acct from user2<br><br>Since the session database is not populated until a user sends an accounting packet (using radutmp or sql modules)<br>How can we prevent multiple login in this situation? shall we think in adding a record to the session database in authorization section?<br>
<br><br>I am using  freeradius-2.1.6<br><br>configurations<br>=============<br>authorize {<br>        preprocess<br>        chap<br>        suffix<br>        files<br>        sql<br>        pap<br>}<br>preacct {<br>        preprocess<br>
        acct_unique<br>        suffix<br>        files<br>}<br>accounting {<br>#       radutmp<br>        sql<br>}<br>session {<br>#       radutmp<br>        sql<br>}<br><br><br>Thanks,<br>Houssam<br></div>