Hello list!
almost made one counter by myself,but it functions like simple Session-Timeout. What should i add to this query not to allow user log in after the time returned by query is >= then one set in the data base for the user?
sqlcounter hours { counter-name=Hours-Counter check-name=Hours sqlmod-inst=sqlcca3 key=User-Name reset=never query="Select (NOW()-time) from radcheck where UserName='%{%k}'" }
Thanks you anyway!
Edgars
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html