Welcome, Guest. Please login or register.

Author Topic: Radius Login not working 2.2.22  (Read 4577 times)

Westy_87

  • Newbie
  • *
  • Posts: 14
    • View Profile
Radius Login not working 2.2.22
« on: March 17, 2023, 03:59:24 am »
Hi there,

We were running 1.9 on Ubuntu 18.05 LTS with PHP 7.2.

Rather than upgrade to 2.2 my colleague created a new VM and installed 2.2.22 on Ubuntu 22.04 LTS with PHP 8.1.

Everything seemed to be working well and we were running off just a local user to get it all going again. I enabled radius auth for the new server and a local user matching my AD account with all privs as we did in 1.9

When I go to log in, it just ends up with a blank screen (firefox) or (in Edge) 'HTTP Error 500' '10.207.230.20 can't currently handle this request'.

I saw another post here where you say PHP 8 won't be supported until NeDi 2.3 so I downgraded to 7.4 with no change. (Reverted snapshot to PHP 8.1 after)

Inspecting the login request in Firefox shows the attached.

Assistance to solve this would be appreciated :)

« Last Edit: March 17, 2023, 04:14:49 am by Westy_87 »

MPell

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Radius Login not working 2.2.22
« Reply #1 on: March 17, 2023, 10:10:53 pm »
Hi,

no solution but maybe an explanation: in PHP8 (and possibly also in 7.4) the radius module is missing. I have the same problem after upgrading the NeDi installation from ubuntu server LTS 18.04 to LTS 22.04. I came across that this module obviously is no longer available in the higher PHP versions.

Under PHP 7.2 there were ini-Files with regard to the extension radius.so in the etc/php/7.2/fpm/conf.d directory and in the mods-available path of the PHP version. The ini-files are now missing in these directories.

I did no further investigation on that since.

Unfortunately, at the moment I just don't know if and how the module could be loaded and installed afterwards.

Best regards, Markus
« Last Edit: March 17, 2023, 11:11:15 pm by MPell »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2897
    • View Profile
    • NeDi
Re: Radius Login not working 2.2.22
« Reply #2 on: May 12, 2023, 01:06:06 pm »
Try php-dapphp-radius instead...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

tsgruu

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Radius Login not working 2.2.22
« Reply #3 on: December 11, 2023, 12:28:03 pm »
Any updates?
Im gettin the same error 'HTTP Error 500' ' can't currently handle this request'.

Is there like any documentation/instruction how to configure radius as web auth?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2897
    • View Profile
    • NeDi
Re: Radius Login not working 2.2.22
« Reply #4 on: December 13, 2023, 12:02:56 pm »
Are you using PHP8? They've removed PHP-radius altogether and you have to find an unofficial package or revert to PHP7.4...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo