You should run the snmp query shown below by hand to see what it returns. This query should return the details for the existing session, and obviously if it doesn't the session is deemed to be a phantom and it is removed from the session database. You will need to make sure that the query operates successfully by hand before Radiator can use it.
Have you checked that you are using the correct SNMP package (netsnmp from sourceforge.net)?
regards
Hugh
On Thursday, August 29, 2002, at 03:32 PM, Rajan wrote:
Dear All,
�
I am checking for simulatenous user connection. Here demo@abc has simulatenous-user = 1. But the user�can do multiple connection.�Here's my Trace 4 debug:
�
first access request session: from XXX.XXX.XXX.2:4 for demo@abc
......Access-accepted
......Accounting-request
......
During the second connection session: from XXX.XXX.XXX.3:6 for demo@abc
.......
�
Wed Aug 28 15:28:40 2002: DEBUG: Checking if user is still online: Router demo@abc, XXX.XXX.XXX.2, 4, 000008B3 Wed Aug 28 15:28:40 2002: DEBUG: Running command `/usr/bin/snmpget XXX.XXX.XXX.2 mysecret.iso.org.dod.internet.private.enterprises.9.2.9.2.1.18.4`
��� ��� (i.e. simultaneous user is been checked. perfect till here, i suppose.)
Wed Aug 28 15:28:40 2002: NOTICE: ****SessSQL Session for demo@abc, at XXX.XXX.XXX.2:4 has gone away
��� ��� (here i doubt why first session has gone away )
Wed Aug 28 15:28:40 2002: DEBUG: SessSQL Deleting session for demo@abc, XXX.XXX.XXX.2, 4
Wed Aug 28 15:28:40 2002: DEBUG: do query is: delete from RADONLINE where NASIDENTIFIER ='XXX.XXX.XXX.3' and NASPORT =06
.........
hence, second�got connected.
�
What might be the reason for the first session ie XXX.XXX.XXX.2:4�that has�gone away. It should be�denying the second session mentioning�"Simulatenous-Use of 1 exceeded". right?
�
Plese help me out. Thanking you in advance.
�
regards,
Rajan.
�
�
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
