Expiration Attribute

Kliwer kliwer16 at gmail.com
Tue Oct 30 12:29:31 CET 2018


Thank you, that's what I was missing.

wt., 30 paź 2018 o 12:11 Alan DeKok <aland at deployingradius.com> napisał(a):

> 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.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list