User file _matching

Hassan, Hazem (Nokia - EG/Cairo) hazem.hassan at nokia.com
Thu Mar 11 15:05:54 CET 2021


Thanks Matthew . but I don’t know how can I remove it.


-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=nokia.com at lists.freeradius.org> On Behalf Of Matthew Newton
Sent: Thursday, March 11, 2021 3:50 PM
To: freeradius-users at lists.freeradius.org
Subject: Re: User file _matching



On 11/03/2021 13:44, Hassan, Hazem (Nokia - EG/Cairo) wrote:
> (2)     policy filter_username {
> (2)       if (&User-Name) {
> (2)       if (&User-Name)  -> TRUE
> (2)       if (&User-Name)  {
> (2)         if (&User-Name =~ / /) {
> (2)         if (&User-Name =~ / /)  -> TRUE
> (2)         if (&User-Name =~ / /)  {
> (2)           update request {
> (2)             &Module-Failure-Message += 'Rejected: User-Name contains whitespace'
> (2)           } # update request = noop

It does help to actually read the debug output, which is telling you exactly what the problem is.

If you don't want the filter_username policy, remove it from the configuration.

--
Matthew
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list