Closed eugenefvdm closed 10 years ago
The condition at line 107 is incorrect however:
When the Expiration attribute is set the account will not be able to authenticate if the value is on or past the current date. If the expiration module for FreeRADIUS is enabled.
The Expiration lookup before the insert statement insures that, for example the cron runs every 5 minutes, the Expiration attribute value pair is not inserted every time and the message outputted. Same with the delete statement.
The CRON uses this Mysql query to see if an account is over limits:
Expiration is however only set in two place:
It seems essential logic is missing or this attribute must not be checked.