Freeradius 2.1-1: failure modes

Alan DeKok aland at deployingradius.com
Wed Mar 11 18:30:49 CET 2009


leopold wrote:
> No luck.
> For some reason unlang does not catch SQL fail return code.

  OK...

> Only if there is no failure I see it is evaluating return code it prints in
> debug mode
> ++? if (fail)
> ? Evaluating (fail) -> FALSE

  And you deleted the lines JUST ABOVE THAT which gave you the value of
the return code.

  Why?

> But when SQL return really fails it does not evaluate this condition and
> nothing is printed in debug mode.

  No.  The two-line output you included above shows that it *IS*
evaluating the condition, but that for some reason it doesn't match.

  Alan DeKok.



More information about the Freeradius-Users mailing list