<div dir="ltr"><div class="gmail_default" style="color:rgb(68,68,68)">Hi list, <br><div class="gmail_default" style="color:rgb(68,68,68);display:inline">
<br></div><div class="gmail_default" style="color:rgb(68,68,68);display:inline">Sorry, the last email had subject empty.<br></div><div class="gmail_default" style="color:rgb(68,68,68);display:inline"><br>I think that there are a mistake in
sqlcounter_expire_on_login module with large uses. I have detected that
users with three duration months could navigate more than three months.<br>
The problem is with the use of TIME_DIFF function that is limited to the
range allowd for TIME's values. By default, TIME's range is
'-838:59:59' to '838:59:59', thirty four days, more or less. So if you
have a username of two months and this uses expre_on_login module, there
are a problem!<br>
<br>I have fixed the problem modifying the query on module file: I have
replaced "TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime))" by
"TIMESTAMPDIFF(SECOND,<div dir="ltr"><span style="font-family:arial,sans-serif;border-collapse:collapse"><font><font style="font-size:13px" size="1"><font color="#000000"><font face="arial, sans-serif"><span style="font-style:normal"><span style="font-weight:normal"></span></span></font></font></font></font></span></div>
<div class="gmail_default">acctstarttime, NOW())" and now works fine.<br><br>
Please, let me know if this is a bug in FreeRADIUS or If I have a mistake in my configuration (In MySQL or FreeRADIUS services).<br><br>Thanks in advance. <br><br>Regards, <br><br>Antonio.<br><br></div></div></div>
</div>