lowercase before domain match in users file

Tariq Rashid tariq.rashid at uk.easynet.net
Wed Aug 24 14:55:50 CEST 2005


hi - is it possible for freeradius to match the domains/realms for proxying
purposes only (ie not rewrite the User-Name):

in the users file: 

	# following is used to map subdomains of *.easynet.co.uk
	# to be proxied according to the realm easynet.co.uk
	DEFAULT User-Name =~ "@.*\.abc\.co\.uk$", Proxy-To-Realm :=
"abc.co.uk"

can i enable a switch so that ABC.co.uk, aBc.Co.UK and so on are also
matched? however, we don't want the User-Name to be rewritten as per
to_lower in radiusd.conf

tariq



More information about the Freeradius-Users mailing list