Unlang on preacct section
Geaaru
geaaru at gmail.com
Wed Sep 27 16:35:14 CEST 2017
Thank you very very much for your so fast reply.
It works.
G.
On Wed, 2017-09-27 at 10:15 -0400, Alan DeKok wrote:
> On Sep 27, 2017, at 9:56 AM, Geaaru <geaaru at gmail.com> wrote:
> >
> > Unlang processing of the preacct section is equal to
> > authorize/accounting/pre-proxy o post proxy sections ?
>
> Mostly. Read this guide to see exactly how the server processes
> packets:
>
> http://networkradius.com/doc/FreeRADIUS-Technical-Guide.pdf
>
> > It seems that on preacct is not accepted a return value equal to
> > not_found on called modules.
>
> You can over-ride return codes of modules. See "man unlang".
>
> preacct {
> ...
> cache_auth {
> notfound = 1
> }
> if (notfound) {
> do things ...
> }
>
> Alan DeKok.
>
More information about the Freeradius-Devel
mailing list