Package: freeradius-mysql
Version: 2.0.4+dfsg-6
Severity: important

In /etc/freeradius/sql/mysql/dialup.conf ther is a wrong mysql query.
Becasue of this  "Simultaneous Use Checking" is not working correctly.

################################################################
# Simultaneous Use Checking Queries
#######################################################################
# simul_count_query     - query for the number of current connections
#                       - If this is not defined, no simultaneouls use checking
#                       - will be performed by this module instance
# simul_verify_query    - query to return details of current connections for 
verification
#                       - Leave blank or commented out to disable verification 
step
#                       - 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 = NULL"

        simul_verify_query  = "SELECT radacctid, acctsessionid, username, \
                               nasipaddress, nasportid, framedipaddress, \
                               callingstationid, framedprotocol \
                               FROM ${acct_table1} \
                               WHERE username = '%{SQL-User-Name}' \
                               AND acctstoptime = NULL"


Should be "is NULL" not "= Null"



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to