How do I tell if accounting module fails?

Alan DeKok aland at deployingradius.com
Wed Oct 8 15:09:25 CEST 2008


Alex French wrote:
> Sorry, I was not sufficiently clear in my explanation. My program
> wants to know if the sql module that ran *before* it failed or
> succeded. (And I'm running 1.1.7 not 2.x but the theory is the same I
> presume).

  Each module returns a code: noop/ok/fail/etc.  It's a little difficult
to access this from another module in 1.1.7.  In 2.x, see "man unlang"
for how to access the return codes.

  Alan DeKok.



More information about the Freeradius-Users mailing list