Removing domain name in freeradius

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Tue Oct 12 17:39:09 CEST 2010


Hi,
> Hi all,
> 
> Currently when users connect to our WLAN they enter their username thus:- firstname.lastname at mydomain.ox.ac.uk
> 
> Is there a way I can strip everything after the @ out (ie the domain) - so they are forced to authenticate against the domain I specify.
> 
> At the moment in my test environment, as long as I DONT specify the domain it works - so I'm looking to strip out the domain name if they DO specify it.

deal with the realm and/or use stripped-user-name rather than rely on User-Name or
MSCHAP:User-Name

alan



More information about the Freeradius-Users mailing list