Results 1 to 2 of 2

Thread: SSO From zimbra to an other portail

  1. #1
    Join Date
    Sep 2011
    Rep Power

    Default SSO From zimbra to an other portail


    I'm trying to test SSO between zimbra and my company's portail. I succeed in connecting from portail to zimbra with the script below.

    However i would also like to connect from zimbra or another site to my portail, but i dont' know if it's possible, and how to do it?

    Zimbra and the portail are using the same directory for connection.

    PHP Code:
        * Globals. Can be stored in external or retreived from a DB.
        * User's email address and domain. In this example obtained from a GET query parameter. 
        * i.e. preauthExample.php?
        * You could also parse the email instead of passing domain as a separate parameter
    $user $_GET["user"];
    $email "{$user}@{$domain}";

    $PREAUTH_KEY)) {
    "Need preauth key for domain ".$domain);
        * Create preauth token and preauth URL
    $preauthURL $WEB_MAIL_PREAUTH_URL."?account=".$email."&by=name&timestamp=".$timestamp."&expires=0&preauth=".$preauthToken;
         * Redirect to Zimbra preauth URL
    header("Location: $preauthURL");
    Thanks for your help and i apologize for my english if i made mistakes.

  2. #2
    Join Date
    Oct 2009
    Rep Power


    Maybe it is pretty much up to your "portail".
    So it is not easy to answer to your question here.

    If you tell us about your portail, such as you develop it on your own or it is third party product, we can tell something more.

Similar Threads

  1. Zimbra Admin Interface issue
    By Jack_Redington in forum Administrators
    Replies: 9
    Last Post: 08-04-2012, 04:51 AM
  2. Old Backup stay in TO_DELETE status and no clearing..
    By bartounet in forum Administrators
    Replies: 0
    Last Post: 10-05-2010, 07:40 AM
  3. Replies: 31
    Last Post: 12-15-2007, 08:05 PM
  4. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 PM
  5. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 02:30 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