Dear All, For a hotel scenario, I'm trying to enable/disable users based on their arrival and departure date. So far, I've accomplished this, by simply adding a 'exp' column to radcheck and radreply. which includes the expiry date. And at 00:00 every day, I run a cron job, that checks for any users that have departed and removes them. This works, but seems very dirty to me. Is there no cleaner approach I could use? Thanks,
On Apr 19, 2019, at 10:43 AM, Taymour Gabr via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
For a hotel scenario, I'm trying to enable/disable users based on their arrival and departure date. So far, I've accomplished this, by simply adding a 'exp' column to radcheck and radreply. which includes the expiry date. And at 00:00 every day, I run a cron job, that checks for any users that have departed and removes them.
This works, but seems very dirty to me. Is there no cleaner approach I could use?
There's no standard way to do exactly what you're doing. If you need a custom solution, then you need a custom solution. Alan DeKok.
participants (2)
-
Alan DeKok -
Taymour Gabr