<div dir="ltr"><div><div><div>I have similar issue except not using sql. Then I added in users file as :<br><br>DEFAULT Realm == "<a href="http://test.com">test.com</a>",Simultaneous-Use := 2<br> Acct-Interim-Interval = 1800,<br>
Fall-Through = no<br><br><br></div>But I could log in from 5 devices. I must be doing wrong if so point me.<br><br></div>This is what I want to acheive:<br></div>a) allow only two simultaneous connection per user, in other word - if user "BILLGATES" has already logged in twice or from two devices, the third attempt should be denied.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 12:31 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">> Thanks for your reply.. I have uncommented "sql" in session section<br>
> of "/etc/raddb/sites-enabled/default"<br>
> Problem I am facing is that radius is not calling the simultaneous<br>
> use queries during auth time.<br>
<br>
</div> Is the Simultaneous-Use attribute getting set?<br>
<br>
There are a number of steps required to get it working. The document<br>
I pointed you to describes those steps. Follow them, and it will work.<br>
<br>
The problem is that you're posting a bunch of configuration and debug<br>
output. That's nice, but it's no way to tell what's working and what isn't.<br>
<br>
You need to break it down into pieces. Pick one piece, and verify<br>
it's configured correctly, and that it works as expected. Then move to<br>
the next piece. If it doesn't work, you know what's been changed<br>
(something small), and you can post a question here:<br>
<br>
- I did X and expected to see Y. Instead, I saw Z<br>
<br>
- here are the pieces of config && debug output for X<br>
<br>
Comments like that can get useful responses. I don't know how to help<br>
you right now.<br>
<div class="HOEnZb"><div class="h5"><br>
Alan DeKok.<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>
</div></div></blockquote></div><br></div>