reject request in post-proxy

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Aug 25 02:46:49 CEST 2020


Hey Alan,

Thanks for the reply.

On Mon, Aug 24, 2020 at 7:22 PM Alan DeKok <aland at deployingradius.com> wrote:
>
>
>
>   You can't reject users in the post-proxy section.  Instead, just do:
>
> post-proxy {
>    eap
>    if (User-Name == 'mzagrabe') {
>        update parent.reply {
>                 Packet-Type := Reject
>         }
>    }
> }


I'm getting an error using that config:

/etc/freeradius/3.0/sites-enabled/default[939]: Unknown or invalid
value "Reject" for attribute Packet-Type
/etc/freeradius/3.0/sites-enabled/default[938]: Failed to parse
"update" subsection.
/etc/freeradius/3.0/sites-enabled/default[893]: Errors parsing
post-proxy section.

Any ideas?

Thank you!

-m


More information about the Freeradius-Users mailing list