Re: [SOGo] Caldav problem in sogo 2.2.0 with IOS

2014-03-05 Thread John Kaufmann

In message of 2014-0305 03:34 -0500, Christian Mack wrote:

...
Am 2014-03-04 22:45, schrieb maillingl...@itwam.nl:

After quite some hours I found out the solution is simple. ...

WOUseRelativeURLs = YES;

Hope this will help some other people who might encounter the same problem.

I don't see this WOUseRelativeURLs in the sogo 2.2.0
installation/configuration documentation pdf?


That is because the use of this option was deprecated a long time ago.
It always has to be set to YES.
And as the default is YES, it was removed from the documentation altogether.


But if there is still a switch (however deprecated), should it not be 
documented?

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Caldav problem in sogo 2.2.0 with IOS

2014-03-05 Thread Christian Mack
Hello Merijn

Am 2014-03-04 22:45, schrieb maillingl...@itwam.nl:
> After quite some hours I found out the solution is simple. Its got
> nothing to do with ldap, the new sogo 2.2.0 or anything else.
> Set in sogo.conf the following config parameter to YES. It was NO on my
> old environment, that's why MAC and IOS devices were not able to connect
> to the Caldav and Carddav.
> 
> WOUseRelativeURLs = YES;
> 
> 
> Hope this will help some other people who might encounter the same problem.
> 
> I don't see this WOUseRelativeURLs in the sogo 2.2.0
> installation/configuration documentation pdf?
> 

That is because the use of this option was deprecated a long time ago.
It always has to be set to YES.
And as the default is YES, it was removed from the documentation altogether.


Kind regards,
Christian Mack

-- 
Christian Mack
Abteilung Basisdienste
KIM IT-Services
Universität Konstanz



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Caldav problem in sogo 2.2.0 with IOS

2014-03-04 Thread maillingl...@itwam.nl
After quite some hours I found out the solution is simple. Its got 
nothing to do with ldap, the new sogo 2.2.0 or anything else.
Set in sogo.conf the following config parameter to YES. It was NO on my 
old environment, that's why MAC and IOS devices were not able to connect 
to the Caldav and Carddav.


WOUseRelativeURLs = YES;


Hope this will help some other people who might encounter the same problem.

I don't see this WOUseRelativeURLs in the sogo 2.2.0 
installation/configuration documentation pdf?


Kind regards
Merijn

On 03-03-14 23:50, maillingl...@itwam.nl wrote:

Hello,

Last weekend I migrated from sogo 2.1.0 mysql user backend to sogo 2.2.0 with
an ldap user backend (iredmail). Everything works fine, except all the IOS or
OSX related phones or macbooks won't be able to connect to caldav anymore? At
my old sogo 2.1.0 with mysql user db the MAC related phones worked.

Here is my setup, config and some debug logging. I tried lots of things, no
results yet. Anybody some clever ideas?

part of sogo config:
 SOGoUserSources = (
 {
 type = ldap;
 CNFieldName = cn;
 UIDFieldName = mail;
 IDFieldName = mail; // first field of the DN for direct binds
 bindFields = mail; // array of fields to use for indirect binds
 baseDN = "o=domains,dc=example,dc=com";
 bindDN = "cn=Manager,dc=example,dc=com";
 bindPassword = "myldappassword";
 canAuthenticate = YES;
 displayName = "Gedeelde adressen";
 hostname = ldap://:389;
 id = public;
 isAddressBook = YES;
 scope = sub;
 }
 );

Some interesting sogo logging parts:

82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/Calendar/inbox/ HTTP/1.1" 207 330/181 0.006 - - 0
Mar 03 22:10:49 sogod [7982]: |SOGo| starting method 'PROPFIND' on uri '/SOGo/
dav/u...@example.com/Calendar/inbox/'
Mar 03 22:10:49 sogod [7982]: [ERROR]
<0x4E1FE7D0[SOGoAppointmentInboxFolder]:inbox> (-[SOGoGCSFolder
toOneRelationshipKeys]): fetch failed!
Mar 03 22:10:49 sogod [7982]: |SOGo| request took 0.003027 seconds to execute
82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/Calendar/inbox/ HTTP/1.1" 207 361/145 0.007 - - 4K
Mar 03 22:10:49 sogod [7982]: |SOGo| starting method 'PROPFIND' on uri '/SOGo/
dav/u...@example.com/'
Mar 03 22:10:49 sogod [7982]: |SOGo| request took 0.001544 seconds to execute
82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/ HTTP/1.1" 207 479/170 0.006 - - 0


Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write' already exists in DAV permissions table
Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write-properties' already exists in DAV permissions table
Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write-content' already exists in DAV permissions table


Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
   container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
   own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: <0xB3571BC0[SOGoAppointmentFolders]:Calendar>
baseURL: name=Calendar (container=SOGoUserFolder)
   container: https://mail.example.com/SOGo/dav/u...@example.com/
   own: https://mail.example.com/SOGo/dav/u...@example.com/Calendar
Mar 03 22:13:05 sogod [8127]: |SOGo|   using root-url from context:
https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: |SOGo| ROOT baseURL(no container, name=(null)):
   own: https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
   container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
   own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: |SOGo|   using root-url from context:
https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: |SOGo| ROOT baseURL(no container, name=(null)):
   own: https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
   container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
   own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: <0xB3571BC0[SOGoAppointmentFolders]:Calendar>
baseURL: name=Calendar (container=SOGoUserFolder)
   container: https://mail.example.com/SOGo/dav/u...@example.com/
   own: https://mail.example.com/SOGo/dav/u...@example.com/Calendar
Mar 03 22:13:05 sogod [8127]: <0xB332F6D0[SOGoAppointmentInboxFolder]:inbox>
baseURL: name=inbox (container=SOGoAppointmentFolders)
   container: https://mail.example.com/SOGo/dav/u...@example.com/Calendar/
   own

[SOGo] Caldav problem in sogo 2.2.0 with IOS

2014-03-03 Thread maillinglist
Hello,

Last weekend I migrated from sogo 2.1.0 mysql user backend to sogo 2.2.0 with
an ldap user backend (iredmail). Everything works fine, except all the IOS or
OSX related phones or macbooks won't be able to connect to caldav anymore? At
my old sogo 2.1.0 with mysql user db the MAC related phones worked.

Here is my setup, config and some debug logging. I tried lots of things, no
results yet. Anybody some clever ideas?

part of sogo config:
SOGoUserSources = (
{
type = ldap;
CNFieldName = cn;
UIDFieldName = mail;
IDFieldName = mail; // first field of the DN for direct binds
bindFields = mail; // array of fields to use for indirect binds
baseDN = "o=domains,dc=example,dc=com";
bindDN = "cn=Manager,dc=example,dc=com";
bindPassword = "myldappassword";
canAuthenticate = YES;
displayName = "Gedeelde adressen";
hostname = ldap://:389;
id = public;
isAddressBook = YES;
scope = sub;
}
);

Some interesting sogo logging parts:

82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/Calendar/inbox/ HTTP/1.1" 207 330/181 0.006 - - 0
Mar 03 22:10:49 sogod [7982]: |SOGo| starting method 'PROPFIND' on uri '/SOGo/
dav/u...@example.com/Calendar/inbox/'
Mar 03 22:10:49 sogod [7982]: [ERROR]
<0x4E1FE7D0[SOGoAppointmentInboxFolder]:inbox> (-[SOGoGCSFolder
toOneRelationshipKeys]): fetch failed!
Mar 03 22:10:49 sogod [7982]: |SOGo| request took 0.003027 seconds to execute
82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/Calendar/inbox/ HTTP/1.1" 207 361/145 0.007 - - 4K
Mar 03 22:10:49 sogod [7982]: |SOGo| starting method 'PROPFIND' on uri '/SOGo/
dav/u...@example.com/'
Mar 03 22:10:49 sogod [7982]: |SOGo| request took 0.001544 seconds to execute
82.173.35.71 - - [03/Mar/2014:22:10:49 GMT] "PROPFIND /SOGo/dav/
u...@example.com/ HTTP/1.1" 207 479/170 0.006 - - 0


Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write' already exists in DAV permissions table
Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write-properties' already exists in DAV permissions table
Mar 03 23:37:51 sogod [3615]: [WARN] <0x0x7f5bd023fce0[SOGoWebDAVAclManager]>
entry '{DAV:}write-content' already exists in DAV permissions table


Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
  container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
  own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: <0xB3571BC0[SOGoAppointmentFolders]:Calendar>
baseURL: name=Calendar (container=SOGoUserFolder)
  container: https://mail.example.com/SOGo/dav/u...@example.com/
  own: https://mail.example.com/SOGo/dav/u...@example.com/Calendar
Mar 03 22:13:05 sogod [8127]: |SOGo|   using root-url from context:
https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: |SOGo| ROOT baseURL(no container, name=(null)):
  own: https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
  container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
  own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: |SOGo|   using root-url from context:
https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: |SOGo| ROOT baseURL(no container, name=(null)):
  own: https://mail.example.com/SOGo/dav/
Mar 03 22:13:05 sogod [8127]: <0xB35E3E60[SOGoUserFolder]:u...@example.com>
baseURL: name=u...@example.com (container=SOGo)
  container: /SOGo --
https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox/
  own: https://mail.example.com/SOGo/dav/u...@example.com
Mar 03 22:13:05 sogod [8127]: <0xB3571BC0[SOGoAppointmentFolders]:Calendar>
baseURL: name=Calendar (container=SOGoUserFolder)
  container: https://mail.example.com/SOGo/dav/u...@example.com/
  own: https://mail.example.com/SOGo/dav/u...@example.com/Calendar
Mar 03 22:13:05 sogod [8127]: <0xB332F6D0[SOGoAppointmentInboxFolder]:inbox>
baseURL: name=inbox (container=SOGoAppointmentFolders)
  container: https://mail.example.com/SOGo/dav/u...@example.com/Calendar/
  own: https://mail.example.com/SOGo/dav/u...@example.com/Calendar/inbox
Mar 03 22:13:05 sogod [8127]: |SOGo| request took 0.003932 seconds to execute
82.173.35.71 - - [03/Mar/2014:22:13:05 GMT] "PROPFIND /SOGo/dav/
u...@example.com/Calendar/inbox/ HTTP/1.1" 207 330/181 0.008 - - 0

Kind Regards,

Merijn

-- 
users@sogo.nu
https://inverse.ca/sogo/lists