I tried to implement Your advice.

1) Changes in configuration:

authorize {
...

                        sql_auth
                        if ( notfound ) {
                                update control {
                                        Module-Failure-Message := 'User not 
found'
                                }
                        }
...
}

2) Run RADIUS in debugging mode

Some debugging info:

...
[sql_auth] returns notfound
+++? if (notfound )
? Evaluating (notfound ) -> TRUE
+++? if (notfound ) -> TRUE
+++- entering if (notfound ) {...}
++++[control] returns notfound
+++- if (notfound ) returns notfound
...


And 'Module-Failure-Message' is empty.

Did I make mistake in configuration?



On Fri, Apr 27, 2012 at 03:11:27PM +0200, Alan DeKok wrote:
>   As always, run the server in debugging mode to see what it's doing.
> 
>   If the user isn't found, you'll probably have to add a message yourself.
> 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to