authenticate realm no matter what username is

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Aug 26 11:26:52 CEST 2011


On 26 Aug 2011, at 11:16, Barry Murphy wrote:

> Hey guys,
> 
> We're an ISP providing ADSL services ourselves and on behalf of our wholesalers. I have a bunch of realms that are LOCAL and proxied which work with no issues. I'm trying to add realms of competitors to our radius so when customers are migrated from our competitors to our network they get authenticated and I drop them into a VRF displaying to them they need to change their login details. I've already got the VRF working, the forwarder page etc, I just can't seem to get users to authenticate with a wildcard *@dsl.competitor.co.nz
> 
> I have tried the following varies in users file…
> 
> DEFAULT 		User-Name =~ "~*\\.xnet\\.co\\.nz$" 
> 

Surely you want 

User-Name =~ ".*\\.xnet\\.co\\.nz$" ?

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110826/dea3150d/attachment.html>


More information about the Freeradius-Users mailing list