Access requests logging to SQL: How to save comments for rejected requests?
George Koulyabin
jumbo at vinf.ru
Fri Apr 27 12:43:31 CEST 2012
I'm using this section.
...
Post-Auth-Type REJECT {
...
sql_auth
}
...
Records drop to database when access is rejected. But I want to see reason of rejection. As in radius.log.
On Fri, Apr 27, 2012 at 11:17:30AM +0200, Alan DeKok wrote:
> George Koulyabin wrote:
> > I tried to save results of process access requests to SQL database using postauth_query. I used 'Module-Failure-Message' attribute as a comment for rejected requests. The message 'rlm_pap: CLEAR TEXT password check failed' drops to database when password is wrong, for example. But attribute 'Module-Failure-Message' ( and attribute 'Module-Success-Message') is empty when user not found, for example. And other reasons may be.
> > How can I save comments for rejected requests?
>
> Use "the Post-Auth-Type Reject" section.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list