Thanks it worked but with some workaround
On 26/02/13 10:18, Chitrang Srivastava wrote:Yes. It is set by some/most modules, but in particular "mschap" sets it to the error output of ntlm_auth
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 ?
The example above is a case-insensitive regexp. See "man unlang"
What kind of comparision are you doing ?