Re: [SOGo] Global Address book via Carddav?

2016-07-12 Thread Christian Mack
Am 11.07.2016 um 13:05 schrieb Peter Beck (pe...@datentraeger.li):
> On 06/24/2016 10:01 PM, Gerald Brandt (g...@erlphase.com) wrote:
>> Hi,
>>
>> Is the Global Address Book exposed via Carddav or some other method? My
>> user on Outlook, using Outlook Caldav Synchronizer would love to get
>> access to it.
>>
>> Gerald
> 
> Hi Gerald,
> 
> using CardDAV on Android (DAVdroid), I can subscribe to both
> addressbooks, my personal and the global address book.
> Why shouldn't it be possible on OL too..?
> 

I do not know how "Outlook Caldav Synchronizer" works.

But:
Global address books are searchable only per default.
Therefore these address books always seem to be empty, till you search
in them.
If you really want to completely synchronize those, you have to set
listRequiresDot = NO;
in your sogo.conf.
But that will affect all users.
This is only advisable for small global address books.


Kind regards,
Christian Mack

-- 
Christian Mack
Universit├Ąt Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Global Address book via Carddav?

2016-07-11 Thread Peter Beck
On 06/24/2016 10:01 PM, Gerald Brandt (g...@erlphase.com) wrote:
> Hi,
> 
> Is the Global Address Book exposed via Carddav or some other method? My
> user on Outlook, using Outlook Caldav Synchronizer would love to get
> access to it.
> 
> Gerald

Hi Gerald,

using CardDAV on Android (DAVdroid), I can subscribe to both
addressbooks, my personal and the global address book.
Why shouldn't it be possible on OL too..?

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


Re: [SOGo] Global Address book via Carddav?

2016-06-28 Thread Zhang Huangbin

> On Jun 28, 2016, at 7:57 PM, Christian Mack (christian.m...@uni-konstanz.de) 
>  wrote:
> 
> Yes it is.
> The URL is something like:
> https://${your_SOGo_Server}/SOGo/dav/${user_id}/Contacts/${SOGoUserSources_id}
> 
> ${SOGoUserSources_id} is set by you in your sogo.conf in section
> SOGoUserSources for this address book as "id".

I have trouble with this URL:

- With MySQL backend, Apple Contacts.app cannot verify the URL.
- With OpenLDAP backend, Apple Contacts.app can add this address book, but it's 
empty (i have 'listRequiresDot = NO;' for this ldap address book.)

I didn't find useful info in sogo log myself, any log or anything else i can 
provide to help figure it out?


Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).

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

Re: [SOGo] Global Address book via Carddav?

2016-06-28 Thread Christian Mack
Am 24.06.2016 um 22:01 schrieb Gerald Brandt (g...@erlphase.com):
> Hi,
> 
> Is the Global Address Book exposed via Carddav or some other method? My
> user on Outlook, using Outlook Caldav Synchronizer would love to get
> access to it.
> 

Yes it is.
The URL is something like:
https://${your_SOGo_Server}/SOGo/dav/${user_id}/Contacts/${SOGoUserSources_id}

${SOGoUserSources_id} is set by you in your sogo.conf in section
SOGoUserSources for this address book as "id".


Beware:
If you set
listRequiresDot = NO;
then you can download the complete global address book.
Per default (listRequiresDot = YES;) you are only able to search in it.
This is preferred for big address books.


Kind regards,
Christian Mack

-- 
Christian Mack
Universit├Ąt Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416



smime.p7s
Description: S/MIME Cryptographic Signature