13 Dec
2015
13 Dec
'15
12:01 a.m.
Did you try changing the query in dailycounter? http://wiki.freeradius.org/modules/Rlm_sqlcounter Follow the link use another sql query instead of %b, to select the time you want to select for the user. BR, Anirudh Malhotra NKN Sent from a handheld device, Sorry for typos. > On 13-Dec-2015, at 10:18, Muhammad Usman <muhd.usman87@gmail.com> wrote: > > Thanks for your replies. Can you please elaborate your answers. > > I want FreeRadius to get this value from database (stored different values > for different users) at runtime. > How can i achieve different reset values for different users? > > On Sun, Dec 13, 2015 at 7:31 AM, johan firdianto <johanfirdi@gmail.com> > wrote: > >> Use unlang >> Pada tanggal 13 Des 2015 01.21, "Muhammad Usman" <muhd.usman87@gmail.com> >> menulis: >> >>> Hi, >>> I have configured successfully the rlm_sqlcounter module and set the >>> "reset" attribute to daily and its working properly, but I was wondering >> if >>> it is possible to have this attribute dynamic for each user, based on SQL >>> query, meaning rather than defining a static value in configuration file, >>> is it possible to define a SQL query that runs each time and gets the >> value >>> from database. Thanks >>> - >>> List info/subscribe/unsubscribe? See >>> http://www.freeradius.org/list/users.html >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html