regular expression problem on 2.1.3
tnt at kalik.net
tnt at kalik.net
Sat Jan 24 02:49:33 CET 2009
> Hi,
>
> I have updated my Freeradius from 2.0.5 to 2.1.3 and am having a
> problem with the regular expressions I am using in the users file.
>
> If I provide a simple example users file I am testing against:
>
> DEFAULT NAS-IP-Address =~ "192.168.1.1|10.0.1.1"
>
Something is wrong with your installation. From my test system:
[files] expand: %{NAS-IP-Address} -> 192.168.1.1
[files] users: Matched entry DEFAULT at line 1
++[files] returns ok
It works with and without quotes.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list