[RADIATOR] Custom Error Logging to RADAUTHLOG

ronald higgins ronald.higgins at gmail.com
Tue Jan 7 03:17:12 CST 2014


Hi All,

This question came up before a few years ago on the mailing list but i
couldn't see a response on it.

I've got a AuthSelect that checks if an account is active on our CMDB but
when the check fails (inactive user result) what get's logged to RADAUTHLOG
is "no such user" which is a little misleading for the support staff.

Is there a way to write something more descriptive for this check to
RADAUTHLOG such as "account inactive" ? Perhaps a different AuthLog called
from this AuthBy?

Current AuthBy:

<AuthBy SQL>

        Identifier Auth_Acct_Status

                NoDefault
                DBSource    dbi:mysql:[dbname]:[hostname]:3306
                DBUsername  ****
                DBAuth      ****

                FailureBackoffTime 10

                AuthSelect select status from subscribers where
subscriber_id='%n' and enabled='1';

</AuthBy>


Regards

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20140107/e03cf261/attachment.html 


More information about the radiator mailing list