Results 1 to 2 of 2

Thread: LDAP Issues Please help!

  1. #1
    Join Date
    Jun 2009
    Rep Power

    Default LDAP Issues Please help!

    My LDAP directory is a windows 2003 server and I just need the username and password to be able to authenticate to it. I did check the box for a bind account and put in an admin account that have permission to connect to my active directory. I did the same setup with my current server and it works. Now I am trying to migrate to a 64bit from 32bit, it does not seem to be working.
    I enter the external LDAP Directory and did a filter


    and search


    then get the error message below:
    javax.naming.CommunicationException: mk.test.ok:389 [Root exception is connect timed out]
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:197)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.jav a:118)
    at com.sun.jndi.ldap.LdapClientFactory.createPooledCo nnection(
    at com.sun.jndi.ldap.pool.Connections.<init>(Connecti
    at com.sun.jndi.ldap.pool.Pool.getPooledConnection(Po
    at com.sun.jndi.ldap.LdapPoolManager.getLdapClient(Ld
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClien
    at com.sun.jndi.ldap.LdapCtx.connect( 2)
    at com.sun.jndi.ldap.LdapCtx.<init>(
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapC
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Ldap
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstanc e(
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (
    at javax.naming.spi.NamingManager.getInitialContext(N
    at javax.naming.InitialContext.getDefaultInitCtx(Init
    at javax.naming.InitialContext.init(InitialContext.ja va:223)
    at javax.naming.ldap.InitialLdapContext.<init>(Initia
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(
    at com.zimbra.cs.account.ldap.LdapUtil.ldapAuthentica te(
    at com.zimbra.cs.account.ldap.Check.checkAuthConfig(C
    at com.zimbra.cs.service.admin.CheckAuthConfig.handle (
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:272)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:156)
    at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:291)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:212)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(
    at org.mortbay.servlet.UserAgentFilter.doFilter(UserA
    at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:132)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se
    at org.mortbay.jetty.servlet.SessionHandler.handle(Se
    at org.mortbay.jetty.handler.ContextHandler.handle(Co
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebA
    at org.mortbay.jetty.handler.ContextHandlerCollection .handle(
    at org.mortbay.jetty.handler.HandlerCollection.handle (
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha
    at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha
    at org.mortbay.jetty.handler.DebugHandler.handle(Debu
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha
    at org.mortbay.jetty.Server.handle(
    at org.mortbay.jetty.HttpConnection.handleRequest(Htt
    at org.mortbay.jetty.HttpConnection$ ntent(
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:755)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec
    at org.mortbay.thread.BoundedThreadPool$ n(
    Caused by: connect timed out
    at Method)
    at .java:333)
    at ava:182)
    at ava:366)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De
    at java.lang.reflect.Method.invoke(
    at com.sun.jndi.ldap.Connection.createSocket(Connecti
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:184)

  2. #2
    Join Date
    Mar 2009
    Rep Power


    As is see you get a connection time out...
    Did you check the connectivity between the two hosts ?
    Maybe you have some firewall between or on the AD machine...

    Best regards,
    Alex R.

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  2. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  3. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Regarding LDAP issues:
    By jholder in forum Installation
    Replies: 0
    Last Post: 01-02-2007, 09:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts