OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: DanMc85 on March 30, 2021, 08:24:43 pm

Title: RADIUS Error PHP 76
Post by: DanMc85 on March 30, 2021, 08:24:43 pm

I just started getting this error after updating today to .4 

When using Microsoft Azure MFA through a local Windows RADIUS Server.   Previously it would send an Approval popup to the Microsoft Authenticator app on my cell phone. Now it just logs me right in and then grabs this PHP error in the log.

PHP Errors:
[30-Mar-2021 14:16:59 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76
Stack trace:
#0 {main}
  thrown in /usr/local/www/diag_authentication.php on line 76
[30-Mar-2021 14:21:00 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined method OPNsense\Auth\Radius::getLastAuthErrors() in /usr/local/www/diag_authentication.php:76
Stack trace:
#0 {main}
  thrown in /usr/local/www/diag_authentication.php on line 76
Title: Re: RADIUS Error PHP 76
Post by: AdSchellevis on March 30, 2021, 08:47:17 pm
It seems that we have a small regression in our latest release, to fix the authentication tester, can you try to patch using https://github.com/opnsense/core/commit/a7ae8c4373d66984a83ab29e2fa0db3bfe0b922d ?

On a console, just run the following command and try the tester again:


Code: [Select]
opnsense-patch a7ae8c4

Best regards,

Ad
Title: Re: RADIUS Error PHP 76
Post by: DanMc85 on March 31, 2021, 12:29:34 pm
It seems that we have a small regression in our latest release, to fix the authentication tester, can you try to patch using https://github.com/opnsense/core/commit/a7ae8c4373d66984a83ab29e2fa0db3bfe0b922d ?

On a console, just run the following command and try the tester again:


Code: [Select]
opnsense-patch a7ae8c4

Best regards,

Ad

That seems to have fixed that error. At the very least OPNsense no longer says "A problem has been detected"

Thanks!