i thought maybe my counter has the issue so i use default provided dailycounter set session-timeout to 120 and login, user disconnects after 34 seconds next the user logins again and instead of getting disconnected after 84 odd sweconds gets disconnected after 120. how can i update nas with limit-used time? log is attached please help On Thu, Oct 30, 2014 at 12:27 AM, Alan DeKok <aland@deployingradius.com> wrote:
Abdullah wrote:
need advice please as to what am i doing wrong
Read the debug output. The server looks in SQL for the user, and then runs the dailycounter module. The Max-Daily-Session attribute isn't found by the counter module.
So... that attribute isn't being returned from SQL.
You can run the queries yourself to see what is being returned from SQL. The debug output shows you the queries.
It's not difficult. Set the Max-Daily-Session attribute in the "users" file, and it will work. Therefore, it should also work with SQL. If it doesn't work with SQL, it's because you configured SQL wrong.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html