lowercase before domain match in users file
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
Tariq Rashid <tariq.rashid@uk.easynet.net> wrote:
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
It's hard to do on a per-attribute basis. Source code patches are pretty much the only option here. Alan DeKok.
participants (2)
-
Alan DeKok -
Tariq Rashid