Stripped-User-Domain case insensitive

Alan Buxey alan.buxey at gmail.com
Mon Mar 12 18:45:56 CET 2018


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


More information about the Freeradius-Users mailing list