Example listed in huntgroup file does not work [sec=unclassified]
Ranner, Frank MR
Frank.Ranner at defence.gov.au
Wed Dec 12 02:27:36 CET 2007
> -----Original Message-----
> From:
> freeradius-users-bounces+frank.ranner=defence.gov.au at lists.fre
eradius.org [mailto:freeradius-users->
bounces+frank.ranner=defence.gov.au at lists.freeradius.org] On
> Behalf Of Reynolds, Walter
> Sent: Wednesday, 12 December 2007 00:41
> To: freeradius-users at lists.freeradius.org
> Subject: Example listed in huntgroup file does not work
>
> I have tried to set up a huntgroup to match based on the
> example that is given in the file itself, but am not getting
> expected results. I want to limit the users that can connect
> to specific NAS's which works well if there is only one NAS
> in the huntgroup, but does not work for more than one. So I
> am sure that there is something simple I am missing
>
> Following is what I have. It will prevent user test3 from
> authenticating on 192.168.2.6, but not .5
>
>
> alphen NAS-IP-Address == 192.168.2.5
> alphen NAS-IP-Address == 192.168.2.6
> User-Name == test1,
> User-Name == test2
Try this:
alphen NAS-IP-Address =~ '^192\.168\.2\.[56]$'
User-Name == test1,
User-Name == test2
Regards,
Frank Ranner
More information about the Freeradius-Users
mailing list