On 26/02/13 10:18, Chitrang Srivastava wrote:
Thanks this may solve the issue but one doubt , > if (Module-Failure-Message =~ /.*logon fail.*/i) { How is Module-failure-Message is handled , I guess its a string ?
Yes. It is set by some/most modules, but in particular "mschap" sets it to the error output of ntlm_auth
What kind of comparision are you doing ?
The example above is a case-insensitive regexp. See "man unlang" - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html