Logging the return code from the ldap authentication to SQL.

Alan DeKok aland at deployingradius.com
Tue Mar 17 10:11:05 CET 2009


Augusto G. Andreollo wrote:
> I must've been doing something wrong.. When I erased everything and
> retyped it again, it's now returning OK as given.

  Weird... OK

> My problem now is that it only returns correctly when the module returns
> OK. If the LDAP returns anything else (fail, rejected, notfound), it
> just completely skips over the IFs block and goes straight to Post-Auth.
> Is that expected?

  Yes.

  In normal processing, failure means STOP.  Don't keep bugging other
modules with a request that failed.

  Alan DeKok.



More information about the Freeradius-Users mailing list