Project

General

Profile

Actions

Bug #11109

closed

WebGUI RADIUS authentication doesn't work if WAN is down

Added by Viktor Gurov 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Start date:
11/27/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

The GUI login screen works as intended, then if you use a local (not RADIUS) credential with no WAN IP configured it will not fall back. Instead it will show this error:

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
Actions #2

Updated by Max Leighton 11 months ago

I am able to reproduce this in

2.5.0-DEVELOPMENT (amd64)
built on Fri Nov 27 07:03:36 EST 2020
FreeBSD 12.2-STABLE

[27-Nov-2020 13:17:10 America/Chicago] PHP Fatal error: Error converting Address in /usr/local/share/pear/Auth/RADIUS.php on line 218

In my case, just downing the interface wasn't enough, I had to have the IPv4 configuration type set to None.

Actions #3

Updated by Jim Pingle 11 months ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #4

Updated by Renato Botelho 11 months ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov 11 months ago

  • % Done changed from 0 to 100
Actions #6

Updated by Danilo Zrenjanin 11 months ago

  • Status changed from Feedback to Resolved

Tested on :

2.5.0-DEVELOPMENT (amd64)
built on Mon Nov 30 07:00:43 EST 2020
FreeBSD 12.2-STABLE

It works fine now. Ticket resolved.

Actions

Also available in: Atom PDF