Date-exerpired users
Alan DeKok
aland at deployingradius.com
Fri Apr 19 20:17:45 CEST 2019
On Apr 19, 2019, at 10:43 AM, Taymour Gabr via Freeradius-Users <freeradius-users at 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.
More information about the Freeradius-Users
mailing list