No, I used reference to %{Module-Failure-Message}. 
I changed reference  from %{Module-Failure-Message} to 
%{control:Module-Failure-Message} and message 'User not found' droped to 
database. It works.
But when I sent request with wrong password, message 'Bad password' did not 
drop to database because module saved message to %{Module-Failure-Message}. 

I found <list> what must be updated (after set of experiments).

...
authorize {
                        sql_auth
                        if ( notfound ) {
# Update 'request' as a <list>
                                update request {
# Replace attribute
                                        Module-Failure-Message = 'User not 
found'
                                }
                        }
}
...

Thanks  for Your help.



On Sat, Apr 28, 2012 at 08:54:06AM +0200, Alan DeKok wrote:
>   How are you referencing it?  You added it to the "control" list.  Are
> you using %{control:Module-Failure-Message} ?
> 
>   Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to