Results 1 to 2 of 2

Thread: [SOLVED] External LDAP auth not works

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    8

    Default [SOLVED] External LDAP auth not works

    (I solved this but leave message for future search)

    Hello.

    I'm installed zcs-4.5.9_GA_1454.FC5.tgz on FC5 x86. Now I'm trying to get external authentication working.

    I do setup in 'Authentication Configuration Wizard' and authentication test failed.

    External LDAP is fedora-ds-1.1.0.

    ldapsearch to fedora-ds with same setting works fine, tested uid exists.

    I'm trying debug this issue and found error: search base should be stripped. Log from FDS:
    conn=76 op=1 SRCH base="ou=test,dc=mydomain\0a" scope=2 filter="(uid=vvyttest)" attrs=ALL

    Full error message:

    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'our search base'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.jav a:3030)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2951)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCt x.java:2758)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 812)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 35)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_sea rch(ComponentDirContext.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:338)
    at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:257)
    at com.zimbra.cs.account.ldap.LdapUtil.searchDir(Ldap Util.java:1005)
    at com.zimbra.cs.account.ldap.LdapUtil.ldapAuthentica te(LdapUtil.java:268)
    at com.zimbra.cs.account.ldap.Check.checkAuthConfig(C heck.java:142)
    at com.zimbra.cs.service.admin.CheckAuthConfig.handle (CheckAuthConfig.java:43)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:266)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:163)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:85)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:220)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:152)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Welcome to the forums,
    Quote Originally Posted by vyt View Post
    (I solved this but leave message for future search)
    -I'm going to append solved to the thread title

    Stick around, we hope you enjoy the forums!

Similar Threads

  1. External Ldap AUTH
    By charlesr in forum Administrators
    Replies: 0
    Last Post: 10-26-2007, 10:01 AM
  2. About external LDAP problem, urgent!
    By bylong in forum Administrators
    Replies: 5
    Last Post: 08-24-2007, 08:10 PM
  3. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 05:29 AM
  4. Authentication to external ldap stop working.
    By jahaj in forum Installation
    Replies: 3
    Last Post: 12-05-2006, 03:17 PM
  5. LDAP External Auth Fedora Directory Services
    By prpatrol in forum Administrators
    Replies: 3
    Last Post: 08-14-2006, 07:00 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
  •