unlang to customize error message

Alan DeKok aland at deployingradius.com
Thu May 5 16:59:05 CEST 2016


On May 4, 2016, at 9:57 AM, Stefano Zanmarchi <zanmarchi at gmail.com> wrote:
> 
> Thank you all, but it's not working.

  It's doing exactly what you told it to do.  It's not doing what you want.

> Setting "send_error = yes" in mods-enabled/eap works fine: win 10 users are
> prompted to reenter passwords.
> Whereas statically setting Reply-Message in the "Post-Auth-Type Reject"
> isn't.
> I've tried the following
> Reply-Message := "E=691 R=1 C=f37de5ab4ddb5307091b96430c78400c V=3
> M=Authentication failed"

  Please read the debug output.  Is the "E=691" text supposed to be in the Reply-Message attribute?

  No?

  Then put it into the correct attribute.  That one can be found by reading the debug output.

  Alan DeKok.




More information about the Freeradius-Users mailing list