[Anthill-pro] LDAP Integration Error
Christopher Power
chrispower36 at gmail.com
Fri Aug 3 10:04:47 CDT 2007
After creating the LDAP authentication realm sucessfully, what hoops do I
have to jump through to allow LDAP users to actually login?
Chris
On 8/3/07, Christopher Power <chrispower36 at gmail.com> wrote:
>
> Ok, I am all square. The com.sun.jndi.ldap.LdapCtxFactory class works
> fine. Initially as Curtis mentioned, you have to remove the ldap://, and
> once I fixed my user search criteria, the initial integratin step proceeded
> fine.
>
> Thanks,
> Chris
>
>
> On 8/3/07, Christopher Power <chrispower36 at gmail.com> wrote:
> >
> > Thanks Curtis, that got me past the unable to login the admin. I've now
> > moved onto an error performing the user search. I'll double check my search
> > base, etc.
> >
> > Chris
> >
> >
> > On 8/3/07, Curtis Yanko <curt_yanko at uhc.com > wrote:
> > >
> > >
> > > That worked for me but try leaving the ldap:// of your entry when you
> > > are trying to get past the first test.
> > >
> > > - Curtis Yanko
> > > UnitedHealth Group IT
> > > Mail Route: CT028-06SA
> > > Internet email: curt_yanko at uhc.com
> > > Office 860.702.9059
> > > Cell 860.729.8171
> > >
> > >
> > >
> > > *"Christopher Power" <chrispower36 at gmail.com >*
> > > Sent by: anthill-pro-bounces at caladin.urbancode.com
> > >
> > > 08/03/2007 10:37 AM Please respond to
> > > "AnthillPro user and support list." <anthill-pro at caladin.urbancode.com
> > > >
> > >
> > > To
> > > "AnthillPro user and support list." <anthill-pro at caladin.urbancode.com
> > > > cc
> > > Subject
> > > Re: [Anthill-pro] LDAP Integration Error
> > >
> > >
> > >
> > > Eric,
> > >
> > > I am running AHP 3.3.0, and the field description to the right lists
> > > com.sun.jndi.LdapCtxFactory, which is what is in the ContextFactory
> > > box by
> > > default. What implementation is recommended?
> > >
> > > Chris
> > >
> > >
> > > On 8/3/07, Eric Minick < etm at urbancode.com> wrote:
> > > >
> > > > Chris,
> > > >
> > > > I think the problem is that the default class on the LDAP
> > > integration is
> > > > rarely available. In the field description text to the right, the
> > > > standard class for modern Sun JVMs is listed. Replace
> > > > com.sun.jndi.LdapCtxFactory with that one.
> > > >
> > > > We've changed the default for the next release.
> > > >
> > > > Regards,
> > > >
> > > > Eric
> > > >
> > > > Christopher Power wrote:
> > > > > I am attempting to integrate AnthillPro with our ActiveDirectory
> > > LDAP
> > > > server
> > > > > and I am receiving the following error. I changed the server name
> > > and
> > > > > connection name (but I have validated they are correct using an
> > > ldap
> > > > > browser, plus they are the same settings we use for jira
> > > > integration). I
> > > > > have also tried connecting to our secondary ldap server, and using
> > >
> > > > > various connection names.
> > > > >
> > > > > Any suggestions?
> > > > >
> > > > > Thanks,
> > > > > Chris
> > > > >
> > > > > "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://server, User Name is:
> > > > cn=adminuser,ou=agroup,dc=somecompany,dc=net at
> > > > >
> > > >
> > > com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.isUserAuthentic
> > > > > ( LDAPLoginModule.java:205) at
> > > > >
> > > com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.login
> > > (
> > > > > LDAPLoginModule.java:166) at
> > > > >
> > > >
> > > com.urbancode.anthill3.web.admin.security.authentication.ldap.LDAPAuthenticationRealmTasks.saveLDAPAuthenticationRealm
> > > > > (LDAPAuthenticationRealmTasks.java:278) 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:585) at
> > > > > com.urbancode.anthill3.web.controller.ControllerServlet.doPost (
> > > > > ControllerServlet.java:356) 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:387) 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.LoggingFilter.doFilter(
> > > > LoggingFilter.java:46)
> > > > > 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.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
> > > > >
> > > com.urbancode.anthill3.web.security.DisableSessionUrlFilter.doFilter(
> > > > > DisableSessionUrlFilter.java :108) 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.security.SecureSessionFilter.doFilter (
> > > > > SecureSessionFilter.java:114) 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:595)
> > > Caused by:
> > > > > javax.naming.NoInitialContextException: Cannot instantiate class:
> > > > > com.sun.jndi.LdapCtxFactory [Root exception is
> > > > > java.lang.ClassNotFoundException: com.sun.jndi.LdapCtxFactory] at
> > > > > javax.naming.spi.NamingManager.getInitialContext(
> > > NamingManager.java:657)
> > > > at
> > > > > javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java
> > > :247)
> > > > at
> > > > > javax.naming.InitialContext.init(InitialContext.java :223) at
> > > > > javax.naming.InitialContext.(InitialContext.java:197) at
> > > > > javax.naming.directory.InitialDirContext .(InitialDirContext.java:82)
> > > at
> > > > >
> > > >
> > > com.urbancode.anthill3.domain.authentication.ldap.LDAPLoginModule.isUserAuthentic
> > > > > (LDAPLoginModule.java :201) ... 58 more Caused by:
> > > > > java.lang.ClassNotFoundException : com.sun.jndi.LdapCtxFactory at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(
> > > > > WebappClassLoader.java:1340) at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass (
> > > > > WebappClassLoader.java:1189) at
> > > java.lang.ClassLoader.loadClassInternal(
> > > > > ClassLoader.java:319) at java.lang.Class.forName0(Native Method)
> > > at
> > > > > java.lang.Class.forName(Class.java:242) at
> > > > > com.sun.naming.internal.VersionHelper12.loadClass (
> > > VersionHelper12.java
> > > > :42)
> > > > > at javax.naming.spi.NamingManager.getInitialContext(
> > > NamingManager.java
> > > > :654)
> > > > > ... 63 more"
> > > > >
> > > > >
> > > > >
> > > ------------------------------------------------------------------------
> > > > >
> > > > > _______________________________________________
> > > > > Anthill-pro mailing list
> > > > > Anthill-pro at lists.urbancode.com
> > > > > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> > > > >
> > > > _______________________________________________
> > > > Anthill-pro mailing list
> > > > Anthill-pro at lists.urbancode.com
> > > > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> > > >
> > >
> > >
> > > _______________________________________________
> > > Anthill-pro mailing list
> > > Anthill-pro at lists.urbancode.com
> > > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> > >
> > >
> > >
> > > 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.
> > >
> > > _______________________________________________
> > > Anthill-pro mailing list
> > > Anthill-pro at lists.urbancode.com
> > > http://lists.urbancode.com/mailman/listinfo/anthill-pro
> > >
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20070803/dd7cb524/attachment-0001.htm
More information about the Anthill-pro
mailing list