How do I tell if accounting module fails?
Alex French
alex at evilal.com
Wed Oct 8 15:28:39 CEST 2008
Thanks all for the responses. I will use a DB table for now, and look
at other alternatives once we migrate to 2.x
Alex
2008/10/8 Alan DeKok <aland at deployingradius.com>:
> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list