How I can return an error message from module to &request:Module-Failure-Message?
Matthew Newton
mcn at freeradius.org
Wed Aug 31 18:57:24 UTC 2022
On 31/08/2022 17:50, work vlpl wrote:
> I want to log it in the post_auth section. It is easy, no problem with
> that. But I also have a custom module. And I want to log errors from it
> too. If I am not wrong modules can return 2 lists of attribute reply and
> control (config).
You can update the request list, too.
> Or there is a better way to pass the error message from the custom module
> to &request:Module-Failure-Message?
> Or maybe I should never touch this attribute?
Just add that attribute directly to the request list.
--
Matthew
More information about the Freeradius-Users
mailing list