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

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-24-2009, 10:59 AM
ple ple is offline
Loyal Member
 
Posts: 84
Angry [SOLVED] Oops! It appears your browser does not allow cookies.

Hi,
We are getting ready to go live with Zimbra. We tight Zimbra to our portal via SSO. Here is the problem. When the portal passes the user ID and password to Zimbra; we receive this message "Oops! It appears your browser does not allow cookies. You need to enable cookies in order to use the Zimbra Collaboration Suite." All we need to do is to click on the log in button to authenticate to Zimbra. I've checked the cookies settings in my web browser and it is set to accept all cookies. If I close the web browser and reopen it; the error message comes back. What can I do to prevent that error message?
Thanks.
PL
Reply With Quote
  #2 (permalink)  
Old 06-25-2009, 12:29 AM
Senior Member
 
Posts: 70
Default

Have you been able to rectify the cookies problem?
we still face the issue
Reply With Quote
  #3 (permalink)  
Old 06-25-2009, 07:11 AM
ple ple is offline
Loyal Member
 
Posts: 84
Default Update

Yes. We implemented the preauth using php. It's quite easy to do. You can also use jsp or .NET. Let me know if you need help.
Thanks.
Reply With Quote
  #4 (permalink)  
Old 06-30-2009, 11:06 PM
Senior Member
 
Posts: 70
Smile

I shall go thru the wiki.
Would be really grateful if you cud also guide for clarification as well..

Thanks a lot!
Reply With Quote
  #5 (permalink)  
Old 07-07-2009, 09:22 AM
ple ple is offline
Loyal Member
 
Posts: 84
Default Update

This is what we've done....
1. Prepare your domain for preauth - gdpak domain.com
2. Pass the login ID to a different php5 supported web server; make sure you work with your Network Engineer to test the firewall between the webserver to the email server.
3. Using the code below and replace $PREAUTH_KEY, $WEB_MAIL_PREAUTH_URL, $user = $_GET["user"] and $domain=$_GET["domain"] values
4. Test your script.
Hope this helps.
Thanks.
PL

<?php
/**
* Globals. Can be stored in external config.inc.php or retreived from a DB.
*/
$PREAUTH_KEY="0f6f5bbf7f3ee4e99e2d24a7091e262db37e b9542bc921b2ae4434fcb6338284";
$WEB_MAIL_PREAUTH_URL="http://zimbra.server.com/service/preauth";

/**
* User's email address and domain. In this example obtained from a GET query parameter.
* i.e. preauthExample.php?email=user@domain.com&domain=do main.com
* You could also parse the email instead of passing domain as a separate parameter
*/
$user = $_GET["user"];
$domain=$_GET["domain"];

$email = "{$user}@{$domain}";

if(empty($PREAUTH_KEY)) {
die("Need preauth key for domain ".$domain);
}

/**
* Create preauth token and preauth URL
*/
$timestamp=time()*1000;
$preauthToken=hash_hmac("sha1",$email."|name|0|".$ timestamp,$PREAUTH_KEY);
$preauthURL = $WEB_MAIL_PREAUTH_URL."?account=".$email."&by=name &timestamp=".$timestamp."&expires=0&preauth=".$pre authToken;

/**
* Redirect to Zimbra preauth URL
*/
header("Location: $preauthURL");
?>
Reply With Quote
  #6 (permalink)  
Old 11-08-2010, 01:24 AM
Senior Member
 
Posts: 74
Default

Hello

Is there anything else to be performed on zimbra server apart from
gdpak domain.com?

What is the preauth url to give. Suppose currently we use Open-Xchange Server

Thanks and awaiting for your valuable response.
Reply With Quote
  #7 (permalink)  
Old 11-15-2010, 09:37 AM
ple ple is offline
Loyal Member
 
Posts: 84
Default Update

Of course you need to allow certain SSO port on your email server's firewall.
PL
Reply With Quote
  #8 (permalink)  
Old 12-29-2010, 11:43 PM
Senior Member
 
Posts: 74
Default

Hello...
On which server should gdpak.com be run?
mailbox or Mta?
Reply With Quote
  #9 (permalink)  
Old 12-30-2010, 12:02 AM
Advanced Member
 
Posts: 198
Default

Quote:
Originally Posted by wooby View Post
Hello...
On which server should gdpak.com be run?
mailbox or Mta?
you can run it on either server.
Reply With Quote
  #10 (permalink)  
Old 01-04-2011, 07:19 AM
ple ple is offline
Loyal Member
 
Posts: 84
Default

I would run it on the mailbox server.
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.