log message when logintime returns userlock?
Josef Vybíhal
josef.vybihal at gmail.com
Tue May 17 08:30:29 UTC 2022
Thanks Matthew for pointing me in the right direction. I was close, I
have tried logintime { userlock = return } after my post to the list.
Now I know why that did not work.
logintime {
userlock = 1
}
if (userlock) {
log_locked_by_logintime
reject
}
This works as I wished.
J.
On Mon, May 16, 2022 at 5:34 PM Matthew Newton <mcn at freeradius.org> wrote:
>
> Default behaviour for userlock os "reject". See
>
> https://wiki.freeradius.org/config/Fail%20over
>
>
> > Is this expected? Is there some trick how I can call the linelog in
> > case of userlock?
>
> The module return priority for userlock needs to be changed if you want
> to catch it. Try:
>
> logintime {
> userlock = 1
> }
> if (userlock) {
> ...
> }
>
> There are examples on the wiki page above.
>
> --
> Matthew
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list