I am no expert here, but it sounds like you need the Perl modules SNMP_Session and BER installed. You can find them at http://www.switch.ch/misc/leinen/snmp/perl/
This is documented in doc/Simultaneous-Use
Ed
From: Wisam Najim <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Simultanous use not working using sql Date: Wed, 19 Mar 2003 12:30:41 +0400
I am using database to check for simultanous use. I define the Simultanous-Use value in "radgroupcheck" table. Even if Simultanous use limit is reached the user can still login and get Access-Accept. "AcctStopTime" is updated and "Acct-Input-Octets","AcctOutputOctets","Acct-Session-Time " are initialized to zero in the already existing record for that user in database and the new session is accepted. I want to know what are the condition that enables this to happen. I beleive the check of the fields returned by "simul_verify_query" lead to this. My query looks like this :
"SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM ${acct_table1} WHERE CalledStationId='%{Called-Station-Id}' AND AcctStopTime IS NULL".
The weired part of the debug I get once running radius with -xxx option is:
Wed Mar 19 10:46:22 2003 : Debug: radius_xlat: 'SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE CalledStationId='3362830' AND AcctStopTime IS NULL' checkrad: Neither SNMP_Session module or found! checkrad: Neither SNMP_Session module or found! Wed Mar 19 10:46:22 2003 : Debug: modcall: entering group accounting
Regards,
<< WisamSuleimanNajim.vcf >>
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html