returning error code of script to module
Phil Mayers
p.mayers at imperial.ac.uk
Tue Feb 26 13:05:47 CET 2013
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"
More information about the Freeradius-Users
mailing list