Version: 2.0.11-1 (via apt on Ubuntu 20.04)
Platform: Nginx
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.
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))'
.