Module Failure Message

Peter Lambrechtsen peter at crypt.nz
Sat Jul 23 21:15:07 CEST 2016


   if (&Calling-Station-Id && &Calling-Station-Id =~ /^121.32/) {

Should stop the module failure message.

I've had to do a similar change across all my unlang when I started logging
it to stop it logging errors unnecessarily.

On 24/07/2016 02:06, "Arran Cudbard-Bell" <a.cudbardb at freeradius.org> wrote:

>
> > On 23 Jul 2016, at 07:40, Laura Steynes <laura.steynes72 at gmail.com>
> wrote:
> >
> > Hi All,
> >
> > I am seeing this in detail logs
> >     Module-Failure-Message = "Failed retrieving values required to
> > evaluate condition"
> >
> > This is in response to authorize section entry:
> >
> >
> >       if (Calling-Station-Id =~ /^121.32/) {
> >                       update reply {
> >                                     Reply-Message := "Geographical Access
> > Failure"
> >                       }
> >            reject
> >       }
> >
> > Hosts in that range do get the reject, but not the message, many google
> > posts/blogs all seem to point that my entry is correct, it is probably
> > something so obvious that I cant see the trees for the woods.
>
> Yeah, you don’t have Calling-Station-ID set…
>
> -Arran
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list