Project

General

Profile

Bug #9150

Web authentication RADIUS package shows PHP error if unable to resolve FQDN of RADIUS server

Added by Andrew Taylor 17 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
11/25/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.x
Affected Architecture:
All

Description

When the DNS record for the RADIUS server used to configure authentication of the web console was temporarily unavailable, any attempt to log into the web interface gave the following error message:

Fatal error: Error converting Address in /usr/local/share/pear/Auth/RADIUS.php on line 218 PHP ERROR: Type: 1, File: /usr/local/share/pear/Auth/RADIUS.php, Line: 218, Message: Error converting Address

This makes sense given that DNS lookup failure also means the RADIUS server won't be reachable, but I believe the system should fallback to locally configured users. Since it errors out before that point, it does not get a chance to fail to local.

Also available in: Atom PDF