Hi, I've solved the same problem with a perl example in the book "FreeRadius The Beginners Guide by Dirk Van Der Walt". There's a few typos in the code, but you'll figure it out. The sqlcounter module is not the best for these purposes as stated in the book. Uchenna Nebedum On Thu, Mar 7, 2019, 20:06 One Zero Art <onezeroartapps@gmail.com> wrote:
Hi,
Trying to prevent authorization of users after usage limited data. I have set sqlcounter for this but debug mode showing this error "counter Attribute Mikrotik-Total-Limit Must be Integer64".
Inserted "Mikrotik-Total-Limit" in radcheck.
I have set other counter but those were working fine. Searched google but no luck. I also check default Mikrotik dictionary, Mikrotik-Total-Limit exist there with interger and id 17. Should I changed that or how can I update attribute?
I am using Ubuntu 18.4 and Freeradius 3.0.16
Thank - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html