Quote:
Originally Posted by phoenix Did you search the forums and the wiki for an answer? |
Yes I did that is why I posted to the forum. Maybe I should mention that I have searched the forum and WIKI in my post so that people do not assume that I did not. That being said I may not have searched with the proper criteria to get the solutions or approaches I need. Many of the forum responses seem to speak to an audience that deals with Active Directory / LDAP on a day to day basis. I have never messed with it thus I am at a loss to interpret the posts properly.
I currently have a domain that I was going to switch from Zimbra auth to Active Directory auth but i remember reading a post about the admin account being lost or something if you do not do something with a command line tool. Since I can't recall nor find that thread I decided to create a new zimbra domain with GAL set to both and Auth set to Active Directory. I followed the wizard but things are not working and I do not know where to start.
The new domain is called capeinternaltest (there is no existing AD domain by that name). The existing AD domain is called CapeTest. I have an account with god permissions (so I have been told)
I copied and fixed this LDAP filter from the docs
(|(cn = %s*)(sn=%s*)(gn=%s*)(mail=%s*))
(zimbraMailDeliveryAddress = %s*)
(zimbraMailAlias=%s*)
(zimbraMailAddress = %s*)
I searched and found this autocomplete filter from the forums
(|(cn=%s*)(sn=%s*)(gn=%s*)(mail=%s*))
This was in the ldap search base by default (which I do not know what it means)
dc=capetestinternal,dc=com
Then on the GAL settings it asks about using DN/password to bind to external server so I entered my domain account info. I did it incorrectly at first and got an auth error. I added the @CapeTest to the end it it went further.
next page is ready for the test. At the bottom its asks
for "Please provide a search term" not really knowing what that meant I guessed it was a part of a name to search for so I used "test" as there is a test1 account in that domain.
When I test I get the following exception:
javax.naming.CommunicationException: Request: 2 cancelled; remaining name 'dc=capetestinternal,dc=com'
at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequ est.java:60)
at com.sun.jndi.ldap.Connection.readReply(Connection. java:405)
at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapCl ient.java:611)
at com.sun.jndi.ldap.LdapClient.search(LdapClient.jav a:534)
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:19 44)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1 806)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:17 31)
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 com.sun.jndi.toolkit.ctx.PartialCompositeDirContex t.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(In itialDirContext.java:248)
at com.zimbra.cs.account.ldap.LdapUtil.searchLdapGal( LdapUtil.java:864)
at com.zimbra.cs.account.ldap.Check.checkGalConfig(Ch eck.java:188)
at com.zimbra.cs.service.admin.CheckGalConfig.handle( CheckGalConfig.java:57)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:261)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:162)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:84)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:709)
at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:173)
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:595)
So now I am stuck (what does this mean). Again for understanding I still need my basic question answered and that is what links a Zimbra account to an AD account? If I have this:
test1@capeinternal.com as an email address in Zimbra and its common name is test1. Then I setup an AD account that is test1. What do I need to do (if anything and assuming the domain is set to externally authenticate) to do to link the zimbra account to the AD account or is it linked based on the common name? What if the AD account was different? Say I wanted 3 different zimbra accounts to authenticate against 1 AD account how is that accomplished.
I appologize for being such a neophite in this. I am a java/linux developer not a sys admin and all of this is LDAP / Active Directory stuff is new to me.
One more thing the instance I am working on has its license expired. I have to reinstall onto production hardware and then apply our network license but until the hardware is ready I am still testing against an expired test license. Could this be the cause of my failed connection?
thanks