Hello Allan, im confused for what i read( doc/Simultaneous-Use) ....  here's
my config

accounting {
                  sql
}

session {
        #  See "Simultaneous Use Checking Querie" in sql.conf
        sql
}



postgresql.conf

simul_count_query = "SELECT COUNT(*) FROM ${acct_table1} WHERE
UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL"
simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName,
NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol
FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS
NULL"


Im using sql and not radutmp, i already uncommented out the
simul_count_query and use "Simultaneous-Use" parameter  in the "radcheck"

radius=# select * from radcheck where username ='cache';
 id  | username |      attribute      | op |    value
-----+----------+---------------------+----+--------------
 261 | cache    | Expiration          | := | 30 July 2004
 257 | cache    | Max-Monthly-Session | := | 72011
 766 | cache    | Simultaneous-Use    | := | 1
   1 | cache    | User-Password       | := | apellido
(4 rows)


But still i got this error;

Tue Jul 27 23:21:22 2004 : Error: Discarding duplicate request from client
cyclades:1026 - ID: 166 due to unfinished request 2


In my config above do i need to configure checkrad? If yes, then i tried to
configure freeradius with snmp support.... i check my config.log again ...
and reinstall freeradius and net-snmp. How do i know that my net-snmp is
workin? Im using freebsd port to install net-snmp.  Im using Portmaster and
Cyclades. Please help.... Thanks very much



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to