Hi Graham,
thank you for you reply
Am Sonntag, 15. Juni 2014, 00:55:58 schrieben Sie:
On 14/06/14 22:18, Nina Steiger wrote:> Is it possible to sync
shared
calendars via actice sync?
I haven't tried myself, but I have just looked through the protocol
documentation and I can't find any way to do it unless Exchange is
willing to return the shared/public folders in the FolderSync for the
account. It seems, from your test using --print-databases, that it does
not do so.
While it is possible to specify different account details when fetching
items, there is no way to specify any account details with either
FolderSync (for listing folders) or Sync (which would be used to find
the items to fetch).
There seem to be several articles I can find by searching the web which
claim that Exchange ActiveSync does not support shared/public folders,
but nothing both recent and definitive (e.g. from Microsoft).
Thanks for the clarification
> They have been accessible through davmail (an exchange
caldav/carddav
> gateway) by otherUsername(a)mycompany.com with the credentials of my account
> myUsername(a)mycompany.com. (davmail stopped working for me at least at
> home for some weired redirects to wrong authenticatiion servers after M$
> changed their office365 version, that's why I am trying syncevolution)
I don't know how davmail does it.
At least from the calendar handling in korganizer I conclude, that they use a
login name with password that i must provide when creating the akonadi caldav
resource (myUsername(a)mycompany.com + myPassword).
Then I must provide the caldav server name which in case of davmail is
http://localhost:1080/users/otherUsername@mycompany.com/calendar (davmail
exposes the caldav end of the gateway on port 1080, in my case it's running on
the localhost)
In caldav I have to configure the owa-Host (or ews Host). In my office and in my
android phone it is
outlook.office365.com.
By the way, the redirection problem is a known issue with
Microsoft's
hosted services. You may have some success with telling davmail to use
the redirected servers. There is no easy way to find out what the
redirection should be but if you can find out, the redirections seem to
be stable and can be contacted directly (at least for activesync access).
Yes I tried all different servernames I could find (from my android phone, from
the redirection headers etc.). The strange thing is, that it is still working
from the internet connetion of my office.
At the office I am redirected to
https://login.microsoftonline.com/login.srf?... where the login succeds.
But at home I am redirected to
https://login.live.com/login.srf?..., where the
login fails.
There are other issues with using our activesync with
Microsoft's
services. See SyncEvolution bug reports 76515-76518.
I will read that, thank you
> I do not understand how to configure syncevolution with
> myUsername(a)mycompany.com and use a different username for the calendar
> database.
There is no way to do it in the current code, and I can't see a way to
do it in the protocol either (although I may have missed it, of course).
> May anyone give me a hint which direction to investigate further?
Ask davmail how they do it? If there is a way to do it, we can look
into adding it into activesyncd.
Yesterday night I read 2 hours through the mail-thread [SyncEvolution] Getting
the concepts clear (Was: Configuring a target) from april this year and I have
understood some thing more behind the concepts of configuring syncevolution.
The problem as far as I can tell is that the activesyncd daemon gets the login
credentials from only one place for all defined sources
export email="myUsername(a)mycompany.com"
gconftool --type string --set /apps/activesyncd/accounts/$email/serverUri \
'https://pod51049.outlook.com/Microsoft-Server-ActiveSync'
gconftool --type string --set /apps/activesyncd/accounts/$email/username \
$email
(here I use the server name, which is used for Outlook Web Access (OWA) after
I have been logged in)
If I replace in the second command /apps/activesyncd/accounts/$email/username
$email with
/apps/activesyncd/accounts/$email/username otherUsername(a)mycompany.com
and restart activesyncd I may get the calendar of my colleague with
otherUsername. I will try that now. Of course I lwill loose the connection to
my own calendar I think.