cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Gaudreault <fgaudrea...@cloudops.com>
Subject LDAP auth broken?
Date Mon, 27 May 2013 16:55:30 GMT
Hi,

I am using 4.1 commit "8a9206fd28872dd436b22b847e93466f06e043bc", and I 
am getting this error when trying to authenticate using LDAP:

java.lang.NullPointerException
     at 
com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
     at 
com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(LdapNamingEnumeration.java:263)
     at 
com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(LdapNamingEnumeration.java:254)
     at 
com.sun.jndi.ldap.LdapNamingEnumeration.next(LdapNamingEnumeration.java:202)
     at 
com.cloud.server.auth.LDAPUserAuthenticator.authenticate(LDAPUserAuthenticator.java:115)
     at 
com.cloud.user.AccountManagerImpl.getUserAccount(AccountManagerImpl.java:1912)
     at 
com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:1784)
     at com.cloud.api.ApiServer.loginUser(ApiServer.java:766)
     at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:210)
     at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
     at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
     at 
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
     at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
     at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     at java.lang.Thread.run(Thread.java:679)
WARN  [server.auth.LDAPUserAuthenticator] (catalina-exec-21:) Unknown 
error encountered null

Any ideas?

I tested using ldapsearch and it works fine.

-- 
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudreault@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


Mime
View raw message