Shared address book via CardDav extension

2022-12-06 Thread Ivan Kuznetsov

Hello

We using cyrus-imapd 3.4.3 with CalDav/CardDav extensions. Here are settings

calendarprefix: #calendar
caldav_allowscheduling: on
caldav_create_default: 1
caldav_create_attach: 1
caldav_create_sched: 1
caldav_allowcalendaradmin: 1

addressbookprefix: #addressbooks
carddav_allowaddressbookadmin: 1
carddav_allowaddmember: 1

A user can create his own addressbook using E-mail client calendar 
feature, e.g. by Thunderbird. Than he can connect to personal 
addressbook using URL 
https://server-name/dav/addressbooks/user/user-name/Default/ with 
authentication and add addresses as needed


What is a way to create shared addressbook available for all users?

I suppose to create one addressbook in 'public' hierarchy, add rights to 
lookup+read to all users and all rights to a dedicated admin user. Than 
admin user can populate this addressbook with scripts or manually 
providing shared addresses to all.


I try to manually create a mailbox like public/shared/#addressbooks 
using cyradm utility. It's created but not looks like an addressbook. I 
get 'Not found error' connecting to 
https://server-name/dav/addressbooks/public/shared/


Regards, Ivan

--
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T5c12e2d2a571b3b7-Mcde13b33ae18b8a56728343f
Delivery options: https://cyrus.topicbox.com/groups/info/subscription


Re: CalDAV with https + DIGEST-MD5 fails

2022-12-06 Thread vladislav . kurz
Hello, 

I have run into this problem too. I had allowed all sasl_mech_list (option 
commented), so thunderbid tried NTLM first and failed. So I put 
"sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5". (NTLM caused many false 
failures with imap anyway), thunderbird started using DIGEST-MD5, at which 
point it at least allowed me to see the list of calendars, and let me to add 
it. But it did not sync the calendars and asked for password indefinitely.

My android app (davx5), works fine, as it is using basic auth anyway... Same 
with thunderbird addon cardbook...

I added https_sasl_mech_list: PLAIN and voila, thunderbird accepted the 
password and synced the calendar.
Now it works perfectly.

Best Regards
Vladislav Kurz

--
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T1d517753ec5acc28-M06aca2cfac3a56c221be55b0
Delivery options: https://cyrus.topicbox.com/groups/info/subscription