sqlcounter_expire_on_login module

2012-05-03 Thread tonimanel
sqlcounter_expire_on_login module, when user log in first time, there are not uses (radacct is empty for this user) but, sqlcounter_expire_on_login's query returns empty set value, not returns a valid value (for example 0) so, when freeradius check the return, says this: (freeradius -X output

Re: sqlcounter_expire_on_login module

2012-05-03 Thread Johan Meiring
-04-03 12:00:00 I have enabled sqlcounter_expire_on_login module, when user log in first time, there are not uses (radacct is empty for this user) but, sqlcounter_expire_on_login's query returns empty set value, not returns a valid value (for example 0) so, when freeradius check the return, says

Re: sqlcounter_expire_on_login module

2012-05-03 Thread tonimanel
Thanks for your answer. I had been testing some queries ... Now works fine with SELECT IFNULL((query),0) Thank you very much. Best regards, Antonio. -- View this message in context: http://freeradius.1045715.n5.nabble.com/sqlcounter-expire-on-login-module-tp5682512p5682577.html Sent from