Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 327
    • Issues 327
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NGLemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2663
Closed
Open
Issue created Nov 24, 2021 by Christophe Segui@seguic

Radius authentication fails when radius used as authentication module

Concerned version

Version: %X.X.X

Platform: Nginx

Summary

configuration setup Authentication Module : Radius User Module : LDAP Password Module : LDAP

Logs

2021/11/09 09:30:51 [error] 13192#0: *970 FastCGI sent in stderr: "Can't call method "setToken" on an undefined value at /usr/share/perl5/vendor_perl/Lemonldap/NG/Portal/Auth/_WebForm.pm line 181, line 755" while reading response header from upstream, client: <ip_address>, server: <portal_name>, request: "GET /?url=aHR0cDovL21hbmFnZXIubWV0ZW8uZnIv HTTP/1.1", upstream: "fastcgi://unix:/run/llng-fastcgi-server/llng-fastcgi.sock:", host: "<portal_name>"

Backends used

local storage

Possible fixes

modify the init method in Auth/Radius.pm:

sub init { my $self = shift; unless ( $self->initRadius ) { $self->error('Radius connect failed'); } return $self->Lemonldap::NG::Portal::Auth::_WebForm::init; }

Edited Nov 24, 2021 by Christophe Maudoux
Assignee
Assign to
Time tracking