Project

General

Profile

Bug #11109

WebGUI RADIUS authentication doesn't work if WAN is down

Added by Viktor Gurov 5 months ago. Updated 4 months ago.

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

100%

Estimated time:
Affected Version:
2.4.5-p1
Affected Architecture:
Release Notes:
Default

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

Associated revisions

Revision 5bd66059 (diff)
Added by Viktor Gurov 4 months ago

Use first interface with IP as fallback for NAS-IP-Address. Fixes #11109

History

#2 Updated by Max Leighton 5 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.

#3 Updated by Jim Pingle 4 months ago

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

#4 Updated by Renato Botelho 4 months ago

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

PR has been merged. Thanks!

#5 Updated by Viktor Gurov 4 months ago

  • % Done changed from 0 to 100

#6 Updated by Danilo Zrenjanin 4 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.

Also available in: Atom PDF