There's no reason to disable it in the default configuration.
# - Note that the returned field order should not be changed.
#######################################################################
-#
-# 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_count_query = "\
+ SELECT COUNT(*) \
+ FROM ${acct_table1} \
+ WHERE username = '%{SQL-User-Name}' \
+ AND acctstoptime IS NULL"
simul_verify_query = "\
SELECT \
# - Note that the returned field order should not be changed.
#######################################################################
-#
-# 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_count_query = "\
+ SELECT COUNT(*) \
+ FROM ${acct_table1} \
+ WHERE UserName = '%{SQL-User-Name}' \
+ AND AcctStopTime IS NULL"
simul_verify_query = "\
SELECT \
# - Note that the returned field order should not be changed.
#######################################################################
-#
-# 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, CallingStationId, \
-# FramedProtocol \
-# FROM ${acct_table1} \
-# WHERE UserName='%{SQL-User-Name}' \
-# AND AcctStopTime IS NULL"
+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"
#######################################################################
# Group Membership Queries
# - Note that the returned field order should not be changed.
#######################################################################
-#
-# 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_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, \