Hello,
please advice on rlm_sql counter module. If i want to check not only after User-Name attribute when giving Max-All-Session to some user but also after NAS-IP-Address, what should i change in sqlcounter.conf? Currently i have default values as described in the doc file.
Edgars
Edgars wrote:
can someone assist with creating a new attribute named Hours-Counter. So, for example, if i will set this attribute for user to 1 hour then he would login/logout during this time as many times as want (it's possible also that he doesn't login) but after 1h the access to this username will be disabled.
So i added this to sqlcounter.conf file,but sticked on the query line. Please can someone write this query for me?
sqlcounter hours { counter-name=Hours-Counter check-name=Hours sqlmod-inst=sqlcca3 key=User-Name reset=never
query=
}
Thank you! Edgars
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html