Results 1 to 6 of 6

Thread: Error 400 using Preauth

  1. #1
    marioestrada is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    6

    Default Error 400 using Preauth

    Hi im using preauth to access to Zimbra from a direct url (Not with SOAP).

    Everything was working fine, but lately i've been getting the following error:

    Code:
    HTTP ERROR: 400
    
    authentication failed for jsmith@domain.com
    
    RequestURI=/service/preauth
    
    Powered by Jetty://
    But when I copy the exact url that is trying to open Zimbra on an iframe and paste it on a browser window it load perfectly!

    Anyone have anyidea why this could be?

  2. #2
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    9

    Default

    Hi,

    just guessing:
    preatuth tokens are only valid within a short period of time.

    Check the time on the zimbra server and on the referring server. The time on both machines must be correct.

    Regards
    Thomas

  3. #3
    marioestrada is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    6

    Default

    Hi, thanks for your reply...
    That's not the problem, the same URL works out of the iframe without changing it in any way.

  4. #4
    deepblue is offline Partner (VAR/HSP)
    Join Date
    Jul 2006
    Location
    Stuttgart / Germany
    Posts
    223
    Rep Power
    9

    Default

    Quote Originally Posted by marioestrada View Post
    Hi, thanks for your reply...
    That's not the problem, the same URL works out of the iframe without changing it in any way.
    What does the audit.log on the zimbra server say (/opt/zimbra/log/audit.log)?

    Regards
    Thomas

  5. #5
    marioestrada is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    6

    Default

    I will check into that -have to ask the admin for the log-, anyways here is a video of my problem: http://mario.ec/other/test.swf

  6. #6
    marioestrada is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    6

    Default

    It did turn out to be that the server running the intranet was not synchronized with the zimbra server's time, they had a gap of 6 minutes :S

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Preauth and REST in one request?
    By brharp in forum Developers
    Replies: 1
    Last Post: 12-09-2009, 07:06 AM
  2. Preauth into simple client
    By Jakob Simon-Gaarde in forum Developers
    Replies: 1
    Last Post: 04-15-2008, 12:09 PM
  3. [SOLVED] Another PHP Preauth example
    By riogd in forum Developers
    Replies: 0
    Last Post: 02-22-2008, 05:48 PM
  4. Preauth documentation improvements
    By riogd in forum Developers
    Replies: 0
    Last Post: 02-22-2008, 05:10 PM
  5. 4.5RC1 and preauth
    By deepblue in forum Administrators
    Replies: 2
    Last Post: 12-21-2006, 10:16 AM

Posting Permissions

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