regexp in huntgroup

Peter Balsianok balsianok.peter at gmail.com
Tue Apr 14 16:39:30 CEST 2015


Not work

On Tue, Apr 14, 2015 at 4:27 PM, Matthew Newton <mcn4 at leicester.ac.uk>
wrote:

> On Tue, Apr 14, 2015 at 04:12:52PM +0200, Peter Balsianok wrote:
> > I have configuration file (huntgroup):
> >
> > LNS   NAS-IP-Address =~ /^213\.151\.231\./
> > LNS   NAS-IP-Address =~ /^213\.151\.232\./
> > LNS   NAS-IP-Address == 213.151.235.230
> >
> > Why freeradius does not set Huntgroup-Name to LNS (based on first regexp
> if
> > NAS-IP-Address=213.151.231.112) ?
>
> regexps in huntgroups are iffy at best, ISTR.
>
> > If i use LNS   NAS-IP-Address == 213.151.231.112, freeradius sets
> > Huntgroup-Name correct.
>
> Try without the /.../ around the regexp, e.g.
>
>   LNS   NAS-IP-Address =~ ^213\.151\.231\.
>
> Matthew
>
> --
> Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
>
> Systems Specialist, Infrastructure Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list