Skip to content

GitLab

  • Menu
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 329
    • Issues 329
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2523

Closed
Open
Created Apr 29, 2021 by Henry Clayton@rhclayto

Abnormal error from LDAP server during Password Reset (Bad Filter)

Concerned version

Version: 2.0.11-1 (via apt on Ubuntu 20.04)

Platform: Nginx

Summary

While trying to use the password reset by mail functionality ( https://lemonldap-ng.org/documentation/2.0/resetpassword.html ), inputting the e-mail address & Captcha, then submitting the form, results in the error message 'Abnormal error from LDAP server', & the following logs.

Logs

Apr 29 22:00:16 skeletor LLNG[60514]: [debug] Good captcha response
Apr 29 22:00:16 skeletor LLNG[60514]: [debug] Captcha code verified
Apr 29 22:00:16 skeletor LLNG[60514]: [debug] Processing getUser
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=1 SRCH base="" scope=0 deref=2 filter="(objectClass=*)"
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=1 SRCH attr=supportedLDAPVersion
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=2 SRCH base="" scope=0 deref=2 filter="(objectClass=*)"
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=2 SRCH attr=supportedLDAPVersion
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=3 BIND anonymous mech=implicit ssf=0
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=3 BIND dn="cn=manager,ou=managers,dc=skeletor,dc=com" method=128
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=3 BIND dn="cn=manager,ou=managers,dc=skeletor,dc=com" mech=SIMPLE ssf=0
Apr 29 22:00:17 skeletor slapd[34800]: conn=1500 op=3 RESULT tag=97 err=0 text=
Apr 29 22:00:17 skeletor LLNG[60514]: [debug] LDAP Search base: ou=people,dc=skeletor,dc=com
Apr 29 22:00:17 skeletor LLNG[60514]: [debug] LDAP transformed filter: '(&(mail=".$req->{user}.")(objectClass=inetOrgPerson))'
Apr 29 22:00:17 skeletor LLNG[60514]: [error] LDAP Search error 89: Bad filter
Apr 29 22:00:17 skeletor LLNG[60514]: [debug] Returned error: 7 (PE_LDAPERROR)
Apr 29 22:00:17 skeletor LLNG[60514]: [debug] Display called with code: 7

In lemonldap-ng.ini, I have mailLDAPFilter = '(&(mail=$mail)(objectClass=inetOrgPerson))'.

Edited Apr 29, 2021 by Henry Clayton
Assignee
Assign to
Time tracking