SQL\Simultaneous logins\Cisco WLC
Hello, gents Can you advise me with my issue with simultaneous logins, please? I can't use radutmp because NAS port identifies only SSID (in case of Cisco WLC 5508). So it is always the same. And there are always only two records in the file. I switched to SQL method: sites-available/default session { #radutmp # # See "Simultaneous Use Checking Queries" in sql.conf sql } acct_unique { key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address" } But all my seesions became "closed" after less than 2 minutes with acctterminatecause = Stale-Session (radacct table) So this query doesn't work simul_count_query = "SELECT COUNT(*) \ FROM ${acct_table1} \ WHERE username = '%{SQL-User-Name}' \ AND acctstoptime IS NULL" Who decides that the session is stale? And how can I avoid it?
Hello May be there is any timer a fter which Free radius marks the session as Stale?
On Apr 7, 2015, at 1:15 AM, Олег Кобелев <na_krul@mail.ru> wrote:
Hello May be there is any timer a fter which Free radius marks the session as Stale?
No. If the session is being closed, it's because the NAS is sending an accounting packet which tells FreeRADIUS that the session is closed. Alan DeKok.
Strange to see radacct getting updated with such termination cause. Never seen NAS sending stale session termination cause. You should check how radacct getting updated. Regards Vijay A. On Apr 7, 2015 4:57 PM, "Alan DeKok" <aland@deployingradius.com> wrote:
On Apr 7, 2015, at 1:15 AM, Олег Кобелев <na_krul@mail.ru> wrote:
Hello May be there is any timer a fter which Free radius marks the session as Stale?
No.
If the session is being closed, it's because the NAS is sending an accounting packet which tells FreeRADIUS that the session is closed.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I found the decision. I was using Daloradius VM. There is a bug in it. So - don't use it!! http://sourceforge.net/p/daloradius/bugs/55/
I found the decision. I was using Daloradius VM. There is a bug in it. So - don't use it!! http://sourceforge.net/p/daloradius/bugs/55/
participants (3)
-
Alan DeKok -
Vijay S -
Олег Кобелев