I try to sync a bunch of Mac running the latest macOS (Sierra) operating system with my owncloud addressbooks. The macOS contacts app should be able to handle CardDAV contacts natively (as mentioned in the FAQs here at oc central), but I was unable to make it work, yet.
I tried several settings (with “principals” added on the one or other spot) as recommended on various websites including the standard URL which OC provides for the addressbooks. Either I get a “username/password cannot be authenticated” error, or I can successfully create the account, but no contacts are synced (the local addressbook on the mac just stays empty).
Expected behaviour
Contacts should be synced down to the Mac
Actual behaviour
Addressbook stays empty
Server configuration
Operating system: Ubuntu 14.04
Web server: Apache
Database: MySQL
PHP version: 7.0.15
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: update
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): -
Put them in the config really does activate them. In .htaccess it depends if you have set your webserver that allows you to change these settings via .htaccess. I would also try with curl or wget if the redirect is working, you easily put such statements at the wrong position.
Does iOS work for you with cardDAV (this is something I tried recently)?