caldavzap with 2.5.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get caldavzap 0.12 to work with 2.5.10-3 (the one that comes with debian stretch)

Caldavzap works fine if I get cyrus httpd to serve it up but I have a reason to want to get it to work on apache + cyrus.

But on apache it stops at this point (in java console):

"Error: [netCheckAndCreateConfiguration: 'PROPFIND http://myserver:8008/dav/principals/user'] code: '0' status: 'error' - see https://www.inf-it.com/caldavzap/readme.txt (cross-domain setup)"

cyrus and caldavzap are on the same server but obviously different ports. I understand this to be a cross-domain setup (although curiously caldavzap's auto-cross-domain detection routine does not think so, so I force it on)

I've configured the config.js as in the docs here https://www.cyrusimap.org/docs/cyrus-imapd/2.5.0/install-http.php

And also set the httpdallowcors with "http://myserver";

Caldavzap docs say you should see these headers with cross-domain:

            Access-Control-Allow-Origin: *
            Access-Control-Allow-Methods: GET, POST, OPTIONS, PROPFIND, PROPPATCH, REPORT, PUT, MOVE, DELETE, LOCK, UNLOCK
            Access-Control-Allow-Headers: User-Agent, Authorization, Content-type, Depth, If-match, If-None-Match, Lock-Token, Timeout, Destination, Overwrite, Prefer, X-client, X-Requested-With
            Access-Control-Expose-Headers: Etag, Preference-Applied

But this what I get

OPTIONS * HTTP/1.0

HTTP/1.1 200 OK
Connection: close
Date: Fri, 04 May 2018 10:37:52 GMT
Cache-Control: no-cache
Server: Cyrus/2.5.10-Debian-2.5.10-3 Cyrus-SASL/2.1.27 OpenSSL/1.1 Zlib/1.2.8 LibXML2.9.4 SQLite/3.16.2 Libical/2.0 ICU4C/57.1 Jansson/2.9
DAV: 1, 2, 3, access-control, extended-mkcol
DAV: calendar-access, calendar-availability, calendar-auto-schedule
DAV: addressbook
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE
Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL
Allow: MKCALENDAR
Content-Length: 0

Does this mean it won't work or is this functionally the same?
Or does the fact that it is failing on propfind mean it is some authentication problem?
Would it help to go a later version of cyrus imap?

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux