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

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 02-13-2008, 01:18 AM
Ada Ada is offline
Member
 
Posts: 12
Default Signal Sign On with Zimbra

Hi,

When I try to conect to Zimbra Server via Soap allways say not authorized.

I get the AuthToken like this:
String tok = sp.getAuthToken();
sp is the class SoapProvisioning in package com.zimbra.cs.account.soap.SoapProvisioning

and I build the URL https://server/service/preauth?isredirect=1&authtoken={} and between the branches token value.
And allways opens Zimbras login screen.
Before doing all this I autenticate as admin and reponse was correct.

Anyone tried a Signal Sign On with Zimbra?

Thank you
Reply With Quote
  #2 (permalink)  
Old 02-13-2008, 01:31 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

I presume you mean Single Sign On? Does this answer your questions: Preauth - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-13-2008, 08:18 AM
Ada Ada is offline
Member
 
Posts: 12
Default

Yep, I have already been following the steps in that URL you mention.
But still I do not get it work. Even with code provided in there.

One question, in the documentation it says that the order of the concatenation is important, must be: account/by/expires/timestamp.
But in example provided the order is: (Preauth - Zimbra :: Wiki)

params.put("account", name);
params.put("by", "name"); // needs to be part of hmac
params.put("timestamp", ts);
params.put("expires", "0"); // means use the default

¿Could be that a problem?

I get error message --> http 400: authentication failed for user@domain..com
And I already have my preAuthKey generated by zimbra with command zmprov gdpak. And after generating the key server was restarted.
¿Any hint?
Thank you

Last edited by Ada; 02-14-2008 at 02:02 AM..
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 12:56 AM
Ada Ada is offline
Member
 
Posts: 12
Thumbs up

well, problem was solved.
You wanna know what was is it?
The Zimbra server time was wrong, was not syncronized correctly and that's why I allways got the error of auth failed, timestamp had expired....
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.