Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-27-2008, 08:52 AM
Special Member
 
Posts: 151
Default upgrade 5.0.5 to 5.0.6 pre auth failures

Upgraded to 5.0.6 last night, and now all my code that uses pre-auths dont work.

gdpak domain.com says there already is a key for the domain.

Do I need to wipe them out and re-generate?

They should have worked fine after the upgrade right?

Thoughts?
Reply With Quote
  #2 (permalink)  
Old 05-27-2008, 09:07 AM
Special Member
 
Posts: 167
Default

Hi

I did an upgrade to 5.0.6 too and the preauth stuff still works; so I don't think it's by design that you have to re-generate yor preauth stuff.

You can get the current preauth key by running this:

Code:
zmprov gd example.com|grep zimbraPreAuthKey
This should match what you have in your applications. If not, then you can set it again (to what you already have) using something like:

Code:
zmprov md example.com zimbraPreAuthKey {my-existing-key}
__________________
Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter
Reply With Quote
  #3 (permalink)  
Old 05-27-2008, 09:44 AM
Special Member
 
Posts: 151
Default

So I have the wrong error I guess...

What would cause this after the upgrade?

=============================

HTTP ERROR: 400

authentication failed for user@domain.com

RequestURI=/service/preauth

Powered by Jetty://
Reply With Quote
  #4 (permalink)  
Old 05-27-2008, 09:51 AM
Special Member
 
Posts: 151
Default why would this have changed? with the upgrade?

2008-05-27 11:44:49,389 WARN [btpool0-22] [] security - cmd=PreAuth; account=user@domain.com; admin=false; error=authentication failed for user@domain.com, preauth timestamp is too old, server time: Tue May 27 11:44:49 CDT 2008, preauth timestamp: Tue May 27 11:49:55 CDT 2008;
Reply With Quote
  #5 (permalink)  
Old 05-27-2008, 09:54 AM
Special Member
 
Posts: 167
Default

Looks like there's a huge time difference (more than five minutes) between Zimbra and the computer calculating the preauth. Try adjusting the time so they're both the same (use NTP?) and try again.
__________________
Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter
Reply With Quote
  #6 (permalink)  
Old 05-27-2008, 09:55 AM
Special Member
 
Posts: 151
Default

The two server date/times were off by more than 5 mins. I corrected by running:

/usr/sbin/ntpdate -b -s us.pool.ntp.org

Manually on the zimbra server, since that one seemed to be slower. Weird how that happened though.
Reply With Quote
  #7 (permalink)  
Old 05-27-2008, 09:57 AM
Special Member
 
Posts: 167
Default

Cool

Sometimes this happens after a reboot. Stick that ntp command in root's daily cron and you should be OK though
__________________
Craig Rodway » Flickr | Last.fm | Del.icio.us | Twitter
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.