18 Dec
2007
18 Dec
'07
11:15 a.m.
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.