Output of exec module
Alan DeKok
aland at deployingradius.com
Tue Apr 23 14:45:59 CEST 2019
On Apr 23, 2019, at 8:20 AM, Dom Latter <freeradius-users at latter.org> wrote:
>
> We are using the exec module [1]:
> https://networkradius.com/doc/3.0.10/raddb/mods-available/exec.html
>
> In some circumstances we will reject a user even though they have
> authenticated. So we send a return code of 1.
>
> But this appears in radius./log as an error. Looking at src/main/exec.c
> I find these lines:
>
> if ((status != 0) || (ret < 0)) {
> RERROR("Program returned code (%d) and output '%s'", status, answer);
>
> so I am guessing this is essentially as designed. Is that right?
Yes.
Alan DeKok.
More information about the Freeradius-Users
mailing list