View Issue Details

IDProjectCategoryView StatusLast Update
0004034SOGoActiveSyncpublic2017-03-01 21:04
ReporterColmar0 Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOS x86_64 GNU/LinuxOS VersionDebian 3.16.39-1
Product Version3.2.6 
Summary0004034: Outlook 2016 and Outlook 2013 free/busy funktion for the Calendar is not working with ActiveSync
Description

Outlook 2013 and Outlook 2013 free/busy for the Calendar is not working with ActiveSync.

All necessary sogo.conf parameter should be available.
Uses is on the test server a certificate with a different DNS-Name inside.

The used link in the Outlook configuration is
http://sogo-test.rz.MyDomain.de/SOGo/dav/public/%Name%/freebusy.ifb

The used Sogo Version is 3.2.6a.

Additional Information

Sogo.conf:

{
WOListenQueueSize = 60;
SxVMemLimit = 512;
OCSEMailAlarmsFolderURL = "mysql://sogo:bla@localhost:3306/sogo/sogo_alarms_folder";
OCSFolderInfoURL = "mysql://sogo:bla@localhost:3306/sogo/sogo_folder_info";
OCSCacheFolderURL = "mysql://sogo:bla@localhost:3306/sogo/sogo_cache_folder";
OCSStoreURL = "mysql://sogo:@localhost:3306/sogo/sogo_store";
OCSAclURL = "mysql://sogo:@localhost:3306/sogo/sogo_acl";
OCSSessionsFolderURL = "mysql://sogo:bla@localhost:3306/sogo/sogo_sessions_folder";
SOGoMaximumPingInterval = 60;
SOGoMaximumSyncInterval = 3540;
SOGoInternalSyncInterval = 60;
SOGoEASDebugEnabled = YES;
SOGoCacheCleanupInterval = 1500;
SOGoFailedLoginBlockInterval = 120;
SOGoACLsSendEMailNotifications = NO;
SOGoAppointmentSendEMailNotifications = YES;
SOGoDraftsFolderName = Drafts;
SOGoEnableEMailAlarms = YES;
SOGoEnablePublicAccess = YES;
SOGoFirstDayOfWeek = 1;
SOGoFoldersSendEMailNotifications = NO;
SOGoForwardEnabled = YES;
SOGoIMAPAclConformsToIMAPExt = YES;
SOGoIMAPServer = "imaps://mail.MyDomain.de:993";
SOGoLanguage = German;
SOGoMailAuxiliaryUserAccountsEnabled = "=";
SOGoMailDomain = "MyDomain.DE";
SOGoMailShowSubscribedFoldersOnly = YES;
SOGoMailingMechanism = smtp;
SOGoMemcachedHost = "127.0.0.1";
SOGoPageTitle = "HSA Rechenzentrum";
SOGoProfileURL = "mysql://sogo:bla@localhost:3306/sogo/sogo_user_profile";
SOGoSMTPServer = "smtp.MyDomain.de";
SOGoSentFolderName = Sent;
SOGoSieveScriptsEnabled = YES;
SOGoSieveServer = "sieve://localhost:4190";
SOGoTimeZone = "Europe/Berlin";
SOGoTrashFolderName = Trash;
SOGoHideSystemEMail = YES;
SOGoSuperUsernames = ("asmobil");
SOGoCalendarDefaultRoles = ("PublicViewer", "ConfidentialDAndTViewer");
SOGoLDAPContactInfoAttribute = YES;
GCSFolderDebugEnabled = YES;
GCSFolderStoreDebugEnabled = YES;
LDAPDebugEnabled = YES;
MySQL4DebugEnabled = YES;
NGImap4DisableIMAP4Pooling = YES;
ImapDebugEnabled = YES;
OCSFolderManagerSQLDebugEnabled = YES;
PGDebugEnabled = YES;
SOGoDebugRequests = YES;
SOGoMailKeepDraftsAfterSend = YES;
SOGoUIxDebugEnabled = YES;
SoDebugObjectTraversal = YES;
SoSecurityManagerDebugEnabled = YES;
WODontZipResponse = YES;
WODebugZipResponse = YES;

SOGoUserSources = (
{
    CNFieldName = cn;
    IDFieldName = uid;
    MailFieldNames = (
    mail,
    mailLocalAddress
    );
    SearchFieldNames = (
    sn,
    cn
    );
    UIDFieldName = uid;
    baseDN = "ou=people,dc=Sub-MyDomain,dc=de";
    bindAsCurrentUser = YES;
    canAuthenticate = YES;
    displayName = "Adressen HSA";

// hostname = "ldap://localhost:389 ldap://localhost:390";
hostname = "ldaps://ldapproxy1.rz.MyDomain.de:636 ldaps://ldapproxy2.rz.MyDomain.de:636";
id = public;
isAddressBook = NO;
passwordPolicy = NO;
type = ldap;
},
{
// search for Addressbook:
CNFieldName = cn;
IDFieldName = uid;
MailFieldNames = (
mail,
);
SearchFieldNames = (
sn,
cn
);
UIDFieldName = uid;
baseDN = "ou=people,dc=Sub-MyDomain,dc=de";
bindAsCurrentUser = YES;
canAuthenticate = NO;
displayName = "Adressen HSA";
hostname = "ldaps://ldapproxy1.rz.MyDomain.de:636 ldaps://ldapproxy2.rz.MyDomain.de:636";
id = public_addr;
isAddressBook = YES;
passwordPolicy = NO;
type = ldap;
},
{
// search for Group Objects:
CNFieldName = cn;
IDFieldName = cn;
SearchFieldNames = (
cn
);
UIDFieldName = cn;
baseDN = "ou=group,dc=Sub-MyDomain,dc=de";
canAuthenticate = YES;
displayName = "Gruppen HSA";
hostname = "ldaps://ldapproxy1.rz.MyDomain.de:636 ldaps://ldapproxy2.rz.MyDomain.de:636";
id = hsa_groups;
isAddressBook = YES;
passwordPolicy = NO;
type = ldap;
}

);
SOGoVacationEnabled = YES;

}

TagsNo tags attached.

Activities

Colmar0

Colmar0

2017-02-14 10:46

reporter  

Colmar0

Colmar0

2017-02-14 10:47

reporter  

Colmar0

Colmar0

2017-02-14 11:46

reporter  

Christian Mack

Christian Mack

2017-02-15 08:34

developer   ~0011313

How are the "Public Access" privileges of the users you want to check, for his personal calendar?

Colmar0

Colmar0

2017-02-15 09:57

reporter  

Colmar0

Colmar0

2017-02-15 09:58

reporter  

Colmar0

Colmar0

2017-02-15 09:58

reporter  

Colmar0

Colmar0

2017-02-15 09:59

reporter   ~0011317

Last edited: 2017-02-15 10:02

The calendar right for public is "View all" as you can see in the attached images.

robert.k

robert.k

2017-02-15 10:17

reporter   ~0011319

Last edited: 2017-02-15 10:18

Your Free/Busy information is at a wrong place.
Paste the link to free/busy under "Suchen unter" and remove the check at "veröffentlichen unter"
you don’t want to publish the free/busy information, you wan’t to browse them

Colmar0

Colmar0

2017-02-15 10:30

reporter  

Colmar0

Colmar0

2017-02-15 10:32

reporter   ~0011320

It is still not working with the entry "http://sogo.MyDomain.de/SOGo/dav/public/%NAME%/freebusy.ifb". Please have a look to the screenshot.

robert.k

robert.k

2017-02-15 10:56

reporter   ~0011321

Last edited: 2017-02-15 11:12

you wrote something about ssl?
Should your link be like https://sogo.MyDomain.de/SOGo/dav/public/%NAME%/freebusy.ifb

Try to paste your link in your browser of choice and change %NAME% to an username. Do you get an download of an ifb file?

I dont know if this option is necessary in your sogo.conf, but we use it ;)
SOGoFreeBusyDefaultInterval = (3, 90);

Thats means 3 days back and 90 days to the future

Colmar0

Colmar0

2017-02-15 11:24

reporter  

freebusy.ifb (243 bytes)
Colmar0

Colmar0

2017-02-15 11:27

reporter   ~0011322

I have attached the result of the upper link.

Colmar0

Colmar0

2017-02-15 12:16

reporter   ~0011324

Last edited: 2017-02-15 12:18

But the file content does not show any information about the appoints between the
time in the period from the 07.02.2017 to the 22.07.2017 (DTSTART:20170207T230000Z, DTEND:20170221T230000Z).
This might explain why Outlook 2016 does not show any information
about the free and busy time.

ludovic

ludovic

2017-02-15 12:22

reporter   ~0011325

Upgrade to v3.2.7 and retest.

Colmar0

Colmar0

2017-02-17 10:24

reporter   ~0011332

Last edited: 2017-02-17 10:34

It works with Sogo version 3.2.7, but only when I use the Name
of a concret user in the URL like "http://sogo-test.MyDomain.de/SOGo/dav/public/rzteam05/freebusy.ifb", but it seems to fail when I use the URL "http://sogo-test.rz.hs-augsburg.de/SOGo/dav/public/%Name%/freebusy.ifb".

I see the Outlook 2016 the following error messages in the file "C:\Users\rzteam05\AppData\Local\Temp\Outlook-Protokoll\OPMLog.log":

2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: Synch operation started (flags = 00000031)
2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: StartImport(flags = 00000000, max msg = ffffffff): full items
2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: EnsureProtoInfo: Error getting remote URL (hr = 0x80070057)
2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: Unable to parse URL for protocol handler:
2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: UploadItems: 0 messages to send
2017.02.17 11:09:58 Fistname.Lastname@hs-augsburg.de: Synch operation completed

You can see in the attached file, how I enable the logging function in "Outlook 2016".

Outlook 2016 seems not to be able to interpret the variable %NAME%.

Colmar0

Colmar0

2017-02-17 10:25

reporter  

enable_Outlook_Debugging.jpg (130,232 bytes)   
enable_Outlook_Debugging.jpg (130,232 bytes)   
ludovic

ludovic

2017-02-17 13:48

reporter   ~0011333

%NAME% will be swapped by Outlook using the left side part of the @ in an email address.

So bob@example.com -> %NAME% will be equal to %NAME%.

There's nothing we can do to change this - this is how Outlook works.

Colmar0

Colmar0

2017-02-17 16:41

reporter   ~0011334

Last edited: 2017-02-17 16:53

Staying at your example bob@example.com -> %NAME% would result
to -> bob and bob.harry would result in -> bob.harry,
but if this would work there, Outlook would not
create the upper error message "Error getting remote URL".
This means for me, that Outlook does not interpret the content of the
%NAME% variable correct or the syntax for this variable is not correct.

ludovic

ludovic

2017-02-17 16:46

reporter   ~0011335

See https://support.microsoft.com/en-ca/help/291621/how-to-use-the-internet-free-busy-feature-in-outlook

You have to use %NAME% and not %Name% like in your example.

If Outlook doesn't swap the left hand part, there's nothing we can do about this.

tfu

tfu

2017-02-18 16:05

reporter   ~0011336

Last edited: 2017-02-19 21:22

If your usernames have the format xxx@domain you could try this url:
https://sogo.MyDomain.de/SOGo/dav/public/%NAME%@%SERVER%/freebusy.ifb

Issue History

Date Modified Username Field Change
2017-02-14 10:46 Colmar0 New Issue
2017-02-14 10:46 Colmar0 File Added: Outlook_Configuration_for_Free-Bussy_Configuration.jpg
2017-02-14 10:47 Colmar0 File Added: Outlook_Configuration_for_Free-Bussy_Configuration-2.jpg
2017-02-14 11:46 Colmar0 File Added: Outlook_Configuration_for_Free-Bussy_Configuration-3.jpg
2017-02-15 08:34 Christian Mack Note Added: 0011313
2017-02-15 09:57 Colmar0 File Added: Calendar_rights_for_Free_Busy_Test.jpg
2017-02-15 09:58 Colmar0 File Added: Calendar_rights_for_Free_Busy_Test-2.jpg
2017-02-15 09:58 Colmar0 File Added: Calendar_rights_for_Free_Busy_Test-3.jpg
2017-02-15 09:59 Colmar0 Note Added: 0011317
2017-02-15 09:59 Colmar0 Note Edited: 0011317
2017-02-15 10:02 Colmar0 Note Edited: 0011317
2017-02-15 10:02 Colmar0 Note Edited: 0011317
2017-02-15 10:17 robert.k Note Added: 0011319
2017-02-15 10:18 robert.k Note Edited: 0011319
2017-02-15 10:30 Colmar0 File Added: Calendar_rights_for_Free_Busy_still_not_working.jpg
2017-02-15 10:32 Colmar0 Note Added: 0011320
2017-02-15 10:56 robert.k Note Added: 0011321
2017-02-15 11:04 robert.k Note Edited: 0011321
2017-02-15 11:06 robert.k Note Edited: 0011321
2017-02-15 11:11 robert.k Note Edited: 0011321
2017-02-15 11:12 robert.k Note Edited: 0011321
2017-02-15 11:24 Colmar0 File Added: freebusy.ifb
2017-02-15 11:27 Colmar0 Note Added: 0011322
2017-02-15 12:16 Colmar0 Note Added: 0011324
2017-02-15 12:17 Colmar0 Note Edited: 0011324
2017-02-15 12:18 Colmar0 Note Edited: 0011324
2017-02-15 12:22 ludovic Note Added: 0011325
2017-02-17 10:24 Colmar0 Note Added: 0011332
2017-02-17 10:25 Colmar0 File Added: enable_Outlook_Debugging.jpg
2017-02-17 10:34 Colmar0 Note Edited: 0011332
2017-02-17 10:34 Colmar0 Note Edited: 0011332
2017-02-17 13:48 ludovic Note Added: 0011333
2017-02-17 13:48 ludovic Status new => closed
2017-02-17 13:48 ludovic Assigned To => ludovic
2017-02-17 13:48 ludovic Resolution open => no change required
2017-02-17 16:41 Colmar0 Note Added: 0011334
2017-02-17 16:41 Colmar0 Status closed => feedback
2017-02-17 16:41 Colmar0 Resolution no change required => reopened
2017-02-17 16:46 ludovic Note Added: 0011335
2017-02-17 16:51 Colmar0 Note Edited: 0011334
2017-02-17 16:53 Colmar0 Note Edited: 0011334
2017-02-18 16:05 tfu Note Added: 0011336
2017-02-19 21:22 tfu Note Edited: 0011336
2017-03-01 21:04 ludovic Status feedback => closed
2017-03-01 21:04 ludovic Resolution reopened => no change required