Expiration Attribute
Alan DeKok
aland at deployingradius.com
Tue Oct 30 12:10:49 CET 2018
On Oct 30, 2018, at 3:00 AM, Kliwer <kliwer16 at gmail.com> wrote:
>
> Hi. I am trying to disable some user accounts at X date. I found that I
> could do that with Expiration module. I enabled this module, added
> "expiration" to instantiate, authorize and post-auth sections, yet I get
> [expiration] = noop in freeradius -X.
You only need to use it in the "authorize" section. That's where the default configuration has it.
> (0) Received Access-Request Id 158 from 127.0.0.1:60707 to 127.0.0.1:1812
> length 75
> (0) User-Name = "mlody"
> (0) User-Password = "mlody"
> ...
> (0) sql: User found in radreply table, merging reply items
> (0) sql: Expiration := "Oct 29 2018 20:40:00 CET"
The Expiration attribute should go into the "control" list, not in the "reply" list.
Alan DeKok.
More information about the Freeradius-Users
mailing list