logging Access-Reject messages
Hi everyone, I have no trouble logging Access-Request and Access-Accept messages, but neither rlm_detail nor "log_auth = yes" seems to log Access-Reject messages. I feel quite silly asking this, but is there something special I need to do to get these logged? My radiusd.conf file looks like: authorize { preprocess detail auth_log attr_filter files } authenticate { Auth-Type System { unix } } preacct { preprocess acct_unique files } accounting { detail } session { } post-auth { reply_log } I'm happy to send any extra config you'd like - just let me know. Alternately, I'm happy to patch the code to allow this if someone knows the right place to do it. Thanks for any ideas!
Geoff Silver wrote:
post-auth { reply_log }
Mine looks like this, I log to an sql db. I am sure you could replace "sql" with "reply_log". post-auth { sql Post-Auth-Type REJECT { sql } } -- Richard Marriner II Marriner Technologies richard@marrinertech.com www.marrinertech.com
Richard Marriner II wrote:
Geoff Silver wrote:
post-auth { reply_log }
Mine looks like this, I log to an sql db. I am sure you could replace "sql" with "reply_log".
post-auth { sql Post-Auth-Type REJECT { sql } }
That worked. Thanks! I'm surprised Post-Auth-Type ACCEPT is logged by default, but not REJECT. *shrugs*. Thanks again ;-)
participants (2)
-
Geoff Silver -
Richard Marriner II