|
Hello, im using freeradius-1.0.0-pre3 and
postgresql as database backend. I got this error when implemeting
Simultaneous Use. Just reading docs( Simultaneous Use) and here's my
radgroupcheck...
radius=# select * from radgroupcheck;
id | groupname | attribute | op | value ----+-----------+------------------+----+------- 1 | admin | Auth-Type | := | PAP 2 | admin | Simultaneous-Use | := | 1 3 | prepaid | Auth-Type | := | PAP 6 | prepaid | Simultaneous-Use | := | 1 (4 rows) Part of radius.conf
# Session database, used for checking
Simultaneous-Use. Either the radutmp
# or rlm_sql module can handle this. # The rlm_sql module is *much* faster session { # radutmp
#
# See "Simultaneous Use Checking Querie" in sql.conf sql } Part of postgresql.conf
# Uncomment simul_count_query to enable
simultaneous use checking
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, CallingSta tionId, FramedProtocol FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime IS NULL" here's the ERROR:
Sun Jul 25 22:42:50 2004 : Error: Discarding
duplicate request from client portmaster:1026 - ID: 50 due to unfinished
request
Sun Jul 25 22:42:53 2004 : Error: Discarding duplicate request from client portmaster:1026 - ID: 50 due to unfinished request Sun Jul 25 22:42:56 2004 : Error: Discarding duplicate request from client portmaster:1026 - ID: 50 due to unfinished request Sun Jul 25 22:42:57 2004 : Error: Check-TS: timeout waiting for checkrad Is their any config that i miss? It seems that i
got a problem bout checkrad, im enable sql to check simultaneous login. Do i
need to configure checkrad eventhough im using sql? Any help or suggestion is
highly appreciated. Thanks very much.
|
- Re: Simultaneous Login Problem apellido jr., wilfredo p.
- Re: Simultaneous Login Problem Alan DeKok
- Re: Simultaneous Login Problem apellido jr., wilfredo p.
- Re: Simultaneous Login Problem Milver S. Nisay
- Re: Simultaneous Login Problem Alan DeKok
- Re: Simultaneous Login Problem Thor Spruyt
- Re: Simultaneous Login Problem Milver S. Nisay

