Unlang on preacct section

Alan DeKok aland at deployingradius.com
Wed Sep 27 16:15:16 CEST 2017

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:


> 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