Stripped-User-Domain case insensitive

wouldsmina wouldsmina at gmail.com
Tue Mar 13 08:53:59 CET 2018


ah! I will test that. Thank you

2018-03-12 18:45 GMT+01:00 Alan Buxey <alan.buxey at gmail.com>:

> The check is regex. So if you want it to be case insensitive ensure you
> have a /i at the end of the comparison
>
> alan
>
> On 12 Mar 2018 4:49 pm, "wouldsmina" <wouldsmina at gmail.com> wrote:
>
> > Hi,
> >
> > I'am testing Freeradius with this guide
> > <https://wiki.freeradius.org/guide/eduroam>, but when I put a capital
> > letter in my domain name (example: anonymous at mydomain.COm), the requests
> > are proxied.
> >
> > I think I need to add something here (into site-enabled/default) :
> >
> > ...
> > if (Stripped-User-Domain != "${operator_name}") {
> > ...
> >
> >
> > I tested :
> > ...
> >
> > if ("%{tolower:Stripped-User-Domain}" != "${operator_name}") {
> > ...
> >
> >
> > but it doesn't work (all requests are proxied).
> >
> > what wrong?
> >
> > thanks.
> > -
> > List info/subscribe/unsubscribe? See http://www.freeradius.org/
> > list/users.html
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html


More information about the Freeradius-Users mailing list