I've been trying to Google something to fit my requirements for 2 weeks and I've had next to null luck.
I'm setting up a Cisco Lab that will be freely available to the public; details can be found at
Free CCNA Workbook Lab | Free CCNA Workbook
However, I've ran into a snag. The console server i use; a CM4116 authenticates to a FreeRADIUS box which uses MySQL.
Currently I'm able to create accounts and authenticate successfully and I'm able to get the Expiration attribute to function as intended however I need an attribute that will reject users if the current date and time is not greater than or equal to the value listed for the specific user in the radcheck table if that attribute exist.
Attribute name for example; Start-Date-Time
I currently have a guy working on developing a PHP based schedule application to automate the user registration/timeslot booking and FreeRADIUS db account updates however I need an attribute of this nature to proceed any further.
Does anyone know how to create a custom query module to check rather or not this attribute exist for the authenticating user in the radcheck table and if so is the value listed in the radcheck table for that attribute less than or equal to the current machine date/time.
The sooner I get this stuff working the sooner the lab will be available to everyone to use for free!