no logging => reject?

Alan DeKok aland at deployingradius.com
Tue Dec 18 17:15:44 CET 2007


Norbert Wegener wrote:
> I am using a recent pre-2, authentication via a mysql database.
> In post-auth I have a  sql module, that reports accept/reject to a
> another mysql database.
> When this database is not available, the user is rejected, although  I
> get Auth-Type = Accept before.
> Is this a desired behaviour, bug or feature?

  It's desired.  The server failed to do something during
authentication, so the authentication fails.

  If you want to over-ride the failure, see "man unlang", which explains
how to change the return codes.

  e.g.

  ...
  sql_postauth {
	fail = ok
  }
  ...

  Alan DeKok.



More information about the Freeradius-Users mailing list