Free Radius : Auth: (0) Invalid user (Rejected: User-Name contains multiple ..s): [xxx]
September 27, 2020 at 11:34 am Leave a comment
Recently we performed a Yum update on our Free Radius Server. The newer version is FreeRADIUS Version 3.0.13. At that time , we started receiving complains from the users that they are not able to login to the network devices.
After reviewing the logs , we noticed the error “Auth: (0) Invalid user (Rejected: User-Name contains multiple ..s)” being logged during the authentication. This is due to the changes applied in the filter file(/etc/raddb/policy.d/filter
).
Before Update:
if (&User-Name =~ /\\.\\./ ) {
After Update:
if (&User-Name =~ /\.\./ ) {
The new Regex syntax style doesn’t escape backslashes anymore. So you need to ensure that the correct_escapes = true
property is set in /etc/raddb/radiusd.conf
.
Source:https://access.redhat.com/solutions/3241961
Entry filed under: Linux. Tags: freeradius, Linux, rhel.
Trackback this post | Subscribe to the comments via RSS Feed