radtest fails with Access-Rejected

Matthew Newton mcn at freeradius.org
Thu Sep 21 18:45:09 CEST 2017


On 21 September 2017 17:34:22 BST, "Mark J. Bobak" <mark at bobak.net> wrote:
>
>(19)         if (&User-Name =~ /\.\./ )  {
>(19)           update request {
>(19)             &Module-Failure-Message += 'Rejected: User-Name
>contains
>multiple ..s'
>(19)           } # update request = noop
>(19)           [reject] = reject
>(19)         } # if (&User-Name =~ /\.\./ )  = reject
>(19)       } # if (&User-Name)  = reject
>(19)     } # policy filter_username = reject
>(19)   } # authorize = reject

>Can someone offer me a clue?

Try setting

correct_escapes = true

In radiusd.conf?


-- 
Matthew



More information about the Freeradius-Users mailing list