Error on login with LDAP

On login action, I have get this error:

ERROR LoginServlet         LDAP authentication failed. 
    at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(
    at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(
    at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(
    at com.sun.jndi.ldap.LdapNamingEnumeration.nextElement(
    at ilarkesto.integration.ldap.Ldap.authenticateUserGetEmail(
    at scrum.server.admin.LoginServlet.login(
    at scrum.server.admin.LoginServlet.onRequest(
    at scrum.server.common.AHttpServlet.doPost(
    at javax.servlet.http.HttpServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.apache.catalina.core.StandardWrapperValve.invoke(
    at org.apache.catalina.core.StandardContextValve.invoke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke(
    at org.apache.catalina.core.StandardEngineValve.invoke(
    at org.apache.catalina.connector.CoyoteAdapter.service(
    at org.apache.coyote.http11.Http11Processor.process(
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
 | app:kunagi > session:


Bug is accepted as 'normal' and the Team needs to fix it.


Mon, Dec 10, 2012, 10:57 by anonymous

When the users can get the correction?

Mon, Dec 10, 2012, 12:16 by Witek (SM,T)

Sorry, but the LDAP module was submitted by an external developer and we have no LDAP experts on the team. Since we have no other issues with LDAP, it is probably a problem with your configuration. Did you leave any fields empty? Can you please post your configuration data here?

Mon, Dec 10, 2012, 13:20 by anonymous

Hello witek,

The computer configuration is ok and it working properly.

Here is the configuration settings from kunagi configuration page:
OpenID disable: yes
Allowed OpenID Domains: -
LDAP authentication enabled: yes
LDAP URL: ldap://mycompany:389
LDAP user: metheuser
LDAP password: *****
LDAP base DN: o=mycompany
LDAP user filter RegEx: (&(objectClass=user))


Fri, Apr 19, 2013, 16:52 by Ricardo Mota

I have the same problem

Wed, Apr 24, 2013, 10:28 by Witek (SM,T)

The LDAP integration seams to work for some people and not for others.

We are sorry about that, but we have no experts for LDAP on our team. Perhaps someone could analyse the code and give us a hint?

Wed, Jul 1, 2015, 16:41 by Witek (SM,T)

Sorry, still no solution for this problem. Based on similar issues on other projects this error could be caused by setting an illegal RegEx in the Kunagi-LDAP configuration.

Some hints:

Post a comment