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,
BEGIN:VCARD
VERSION:2.1
N:Najim;Wisam;Suleiman
FN:Wisam Suleiman Najim
ORG:EIM(Etisalat);Development
TITLE:Analyst
TEL;WORK;VOICE:0097142025573
TEL;CELL;VOICE:00971506450872
TEL;WORK;FAX:0097142958485
ADR;WORK:;;Al-Yamameh Building 9th Floor;Dubai;Dubai;;U.A.E
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Al-Yamameh Building 9th Floor=0D=0ADubai, Dubai=0D=0AU.A.E
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20030302T043117Z
END:VCARD