[Anthill-pro] LDAP

Curtis Yanko curt_yanko at uhc.com
Tue Jul 10 07:43:40 CDT 2007


All,

Back in 3.0 or 3.1 we had LDAP working but it is dogging me now.

I want to use LDP for authentication but Anthill for Authorization. I know 
I have a valid LDAP user account that I can log in with using something 
like LDAPExplorer but I get a failure to bind error when I try to 
configure it.

Error occurred testing LDAP authentication. Please contact support for 
more information.

com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginException: 
Error occurred while attempting to bind to LDAP as the admin user. LDAP 
URL is: ldap://??.??.???.com:389, User Name is: 
cn=******,cn=Users,dc=??,dc=??,dc=???,dc=com at 
com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.isUserAuthentic(LDAPLoginModule.java:202) 
at 
com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.login(LDAPLoginModule.java:163) 
at 
com.urbancode.anthill3.web.admin.security.authentication.ldap.LDAPAuthenticationRealmTasks.saveLDAPAuthenticationRealm(LDAPAuthenticationRealmTasks.java:271) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:324) at 
com.urbancode.anthill3.web.controller.ControllerServlet.doPost(ControllerServlet.java:268) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) 
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474) 
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409) 
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) 
at 
com.urbancode.anthill3.web.controller.ForwardResponse.respond(ForwardResponse.java:47) 
at 
com.urbancode.anthill3.web.controller.ControllerServlet.doPost(ControllerServlet.java:299) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 
at 
com.urbancode.anthill3.web.util.LicenseFilter.doFilter(LicenseFilter.java:71) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 
at 
com.urbancode.anthill3.web.util.SecurityFilter.doFilter(SecurityFilter.java:77) 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) 
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) 
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) 
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) 
at java.lang.Thread.run(Thread.java:534) Caused by: 
javax.naming.CommunicationException: ms.ds.uhc.com:389 [Root exception is 
java.net.ConnectException: Connection timed out: connect] at 
com.sun.jndi.ldap.Connection.(Connection.java:204) at 
com.sun.jndi.ldap.LdapClient.(LdapClient.java:119) at
com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668) at 
com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599) at 
com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:290) at 
com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at 
com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at 
com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) 
at 
com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66) 
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) 
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) 
at javax.naming.InitialContext.init(InitialContext.java:219) at 
javax.naming.InitialContext.(InitialContext.java:195) at 
javax.naming.directory.InitialDirContext.(InitialDirContext.java:80) at 
com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.isUserAuthentic(LDAPLoginModule.java:198) 
... 49 more Caused by: java.net.ConnectException: Connection timed out: 
connect at java.net.PlainSocketImpl.socketConnect(Native Method) at 
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at 
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at 
java.net.Socket.connect(Socket.java:464) at 
java.net.Socket.connect(Socket.java:414) at 
java.net.Socket.(Socket.java:310) at java.net.Socket.(Socket.java:125) at 
com.sun.jndi.ldap.Connection.createSocket(Connection.java:346) at 
com.sun.jndi.ldap.Connection.(Connection.java:181) ... 63 more 



I'll ping our LDAP guy but was hoping the listserv might provide a clue.

- Curtis Yanko
UnitedHealth Group IT
Mail Route: CT028-06SA
Internet email: curt_yanko at uhc.com
Office 860.702.9059
Cell 860.729.8171


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070710/49a8809f/attachment.htm


More information about the Anthill-pro mailing list