RADIUS Error PHP 76

Started by DanMc85, March 30, 2021, 08:24:43 PM

Previous topic - Next topic

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

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:



opnsense-patch a7ae8c4


Best regards,

Ad

Quote from: 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:



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!