rlm_sql: default Acct-On/Off query for all backends is somewhat bogus

Alan DeKok aland at deployingradius.com
Wed Apr 30 10:50:36 CEST 2008


Stefan Winter wrote:
> ... I suggest to change the WHERE to
> 
> ~          WHERE acctstoptime      =  NULL \
> ~          AND nasipaddress      =  '%{NAS-IP-Address}' \
> ~          AND acctstarttime     <= '%S'"
> 
> (leaving out the acctsessiontime = 0 constraint)

  Updated.

  Please test.

  Alan DeKok.



More information about the Freeradius-Devel mailing list