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 314
    • Issues 314
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • 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
  • #779
Closed
Open
Issue created Dec 16, 2014 by Valérie Bauche@valerie.bauche

Error with Multiple userDB

Authentication module is SAML v2 UserDB module is Multi => LDAP;Null

When userDB succeed on LDAP it's Ok, but when it fails there is an infinite loop between SP and IDP :

[warn] No SP found in configuration [warn] Lemonldap::NG : john.doe@bull.net was not found in LDAP directory (192.168.37.1) [error] SSO request or response was not found [warn] No SP found in configuration [warn] Lemonldap::NG : john.doe@bull.net was not found in LDAP directory (192.168.37.1) [error] SSO request or response was not found [warn] No SP found in configuration [warn] Lemonldap::NG : john.doe@bull.net was not found in LDAP directory (192.168.37.1) [error] SSO request or response was not found ...

There is a temporary solution to avoid this error : patch AuthSAML.pm, line 358 :

            # This should not happen
            $self->lmLog( "SSO request or response was not found", 'error' );

+            return PE_OK;
+ 
            # Redirect user
            $self->{mustRedirect} = 1;
            return $self->_subProcess(qw(autoRedirect));
Assignee
Assign to
Time tracking