Results 1 to 3 of 3

Thread: SOAP Authentication Failure, but LDAP ok

  1. #1
    scottp is offline Active Member
    Join Date
    Mar 2006
    Posts
    41
    Rep Power
    9

    Default SOAP Authentication Failure, but LDAP ok

    My other problems (upgrading, SOAP auth issues etc) I think all come down to this.

    I can do a "zmprov -l", but I can't do it via SOAP...

    Code:
    zimbra@zimbra:~/conf$ zmprov -d getMailboxInfo scottp@zimbra.dd.com.au
    ========== SOAP SEND ==========
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Header>
        <context xmlns="urn:zimbra"/>
      </soap:Header>
      <soap:Body>
        <AuthRequest xmlns="urn:zimbraAdmin">
          <name>zimbra</name>
          <password>XXXchangedXXX</password>
        </AuthRequest>
      </soap:Body>
    </soap:Envelope>
    ===============================
    ======== SOAP RECEIVE =========
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Header>
        <context xmlns="urn:zimbra"/>
      </soap:Header>
      <soap:Body>
        <soap:Fault>
          <soap:Code>
            <soap:Value>soap:Sender</soap:Value>
          </soap:Code>
          <soap:Reason>
            <soap:Text>authentication failed for zimbra</soap:Text>
          </soap:Reason>
          <soap:Detail>
            <Error xmlns="urn:zimbra">
              <Code>account.AUTH_FAILED</Code>
              <Trace>com.zimbra.cs.account.AccountServiceException: authentication failed for zimbra
    Code:account.AUTH_FAILED
    	at com.zimbra.cs.account.AccountServiceException.AUTH_FAILED(AccountServiceException.java:83)
    	at com.zimbra.cs.account.ldap.AuthMechanism$ZimbraAuth.doAuth(AuthMechanism.java:125)
    	at com.zimbra.cs.account.ldap.LdapProvisioning.verifyPasswordInternal(LdapProvisioning.java:2718)
    	at com.zimbra.cs.account.ldap.LdapProvisioning.verifyPassword(LdapProvisioning.java:2691)
    	at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:2570)
    	at com.zimbra.cs.account.ldap.LdapProvisioning.authAccount(LdapProvisioning.java:2553)
    	at com.zimbra.cs.service.admin.Auth.handle(Auth.java:89)
    	at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:345)
    	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:212)
    	at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:117)
    	at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:272)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    	at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:174)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
    	at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
    	at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:148)
    	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
    	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
    	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    	at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
    	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    	at org.mortbay.jetty.Server.handle(Server.java:313)
    	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
    	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
    	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
    	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
    	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
    	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
    </Trace>
            </Error>
          </soap:Detail>
        </soap:Fault>
      </soap:Body>
    </soap:Envelope>
    =============================== (528 msecs)
    ERROR: account.AUTH_FAILED (authentication failed for zimbra)
    So how do I fix that password?

    BTW. On trying to reset the Certificates I discovered the following:

    Code:
    zmlocalconfig -s -m nokey tomcat_keystore_password
    Warning: null valued key 'tomcat_keystore_password'
    Although I am not sure why the Wiki 5.0 instructions mention tomcat, since it now uses Jetty.

    Scott
    Last edited by scottp; 01-20-2008 at 09:33 PM. Reason: Small addition

  2. #2
    scottp is offline Active Member
    Join Date
    Mar 2006
    Posts
    41
    Rep Power
    9

    Default

    Ahhh the password issue was just the wrong key in the Wiki. I have updated the wiki to say:

    zmlocalconfig -s -m nokey mailboxd_keystore_password

    Scott

  3. #3
    scottp is offline Active Member
    Join Date
    Mar 2006
    Posts
    41
    Rep Power
    9

    Default

    FYI - I have followed the steps - [SOLVED] Expired Cert in 5.0GA can cause mail Delivery failure - no luck, still not working.

    (same code as above - I think somewhere the password is wrong)

    Scott

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ldap authentication fails but ldapsearch works
    By jherington in forum Installation
    Replies: 3
    Last Post: 11-19-2007, 11:51 PM
  2. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  5. Authentication to external ldap stop working.
    By jahaj in forum Installation
    Replies: 3
    Last Post: 12-05-2006, 03:17 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
  •