<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 06/04/2014 11:59 AM, Jean-Christophe
Delaye wrote:<br>
</div>
<blockquote cite="mid:538F425D.3070203@eurecom.fr" type="cite">On
04/06/2014 13:08, Ken Murchison wrote:
<br>
<blockquote type="cite">On 06/04/2014 04:03 AM, Jean-Christophe
Delaye wrote:
<br>
<blockquote type="cite">On 03/06/2014 20:20, Ken Murchison
wrote:
<br>
<blockquote type="cite">Can you telnet to port 80 on the
server and give it the following
<br>
command (followed by 2 carriage returns):
<br>
<br>
OPTIONS * HTTP/1.0
<br>
<br>
</blockquote>
<br>
Thanks Ken,
<br>
<br>
<br>
Connected to cyrus0.eurecom.fr.
<br>
Escape character is '^]'.
<br>
OPTIONS * HTTP/1.0
<br>
<br>
HTTP/1.1 200 OK
<br>
Connection: close
<br>
Date: Wed, 04 Jun 2014 08:00:23 GMT
<br>
Cache-Control: no-cache
<br>
Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26
<br>
OpenSSL/1.0.0 zlib/1.2.3 libxml2/2.6.23
<br>
Allow: OPTIONS, GET, HEAD
<br>
Content-Length: 0
<br>
</blockquote>
<br>
<br>
OK. It looks like configure didn't find some of the necessary
<br>
prerequisites for CalDAV support when you compiled Cyrus. You
need to
<br>
have both SQLite and libical. When support for CalDAV is
compiled in
<br>
and enabled, your OPTIONS response should look something like
this:
<br>
<br>
HTTP/1.1 200 OK
<br>
Connection: close
<br>
Date: Wed, 04 Jun 2014 11:02:57 GMT
<br>
Cache-Control: no-cache
<br>
Server: Cyrus/git2.4.17-caldav-beta9+163 (Murder)
Cyrus-SASL/2.1.26
<br>
OpenSSL/1.0.1e zlib/1.2.7 libxml/2.9.1 SQLite/3.7.13
libical/0.48
<br>
DAV: 1, 2, 3, access-control, extended-mkcol
<br>
DAV: calendar-access, calendar-auto-schedule
<br>
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE
<br>
Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH,
MKCOL, ACL
<br>
Allow: MKCALENDAR
<br>
Content-Length: 0
<br>
<br>
<br>
</blockquote>
<br>
Ok that's it. It was a configure issue using ICAL_LIBS the linker
flags for ICAL which had overriding pkg-config.
<br>
<br>
Now, I have the following http response:
<br>
<br>
HTTP/1.1 200 OK
<br>
Connection: close
<br>
Date: Wed, 04 Jun 2014 14:57:38 GMT
<br>
Cache-Control: no-cache
<br>
Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26
OpenSSL/1.0.0 zlib
<br>
/1.2.3 libxml2/2.6.23 SQLite/3.8.4.3 libical/1.0
<br>
iSchedule-Version: 1.0
<br>
DAV: 1, 2, 3, access-control, extended-mkcol
<br>
DAV: calendar-access, calendar-auto-schedule
<br>
Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE
<br>
Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH,
MKCOL, ACL
<br>
Allow: MKCALENDAR
<br>
Content-Length: 0
<br>
<br>
I confirm that module automatically create the required calendars
for a
<br>
user at the first login.
<br>
<br>
cyrus0.eurecom.fr> lm user.standard.%.%
<br>
user.standard.#addressbooks.Default (\HasNoChildren)
<br>
user.standard.#calendars.Default (\HasNoChildren)
<br>
user.standard.#calendars.Inbox (\HasNoChildren)
<br>
user.standard.#calendars.Outbox (\HasNoChildren)
<br>
user.standard.Junk.Spam_Client (\HasNoChildren)
<br>
user.standard.Junk.Spam_Server (\HasNoChildren)
<br>
<br>
cyrus0.eurecom.fr> lam user.standard.#calendars.Default
<br>
standard lrswipkxtecda9
<br>
anyone 9
<br>
<br>
But, I have to deal with "404 Not Found".
<br>
<br>
[ID 596527 local2.notice] login: standard Basic+TLS User logged in
<br>
[ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF
NOT EXISTS ical_objs ( rowid INTEGER PRIMARY KEY, creationdate
INTEGER, mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid
INTEGER, lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT,
lock_expire INTEGER, comp_type INTEGER, ical_uid TEXT, organizer
TEXT, dtstart TEXT, dtend TEXT, recurring INTEGER, transp INTEGER,
sched_tag TEXT, UNIQUE( mailbox, resource ) );
<br>
[ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF
NOT EXISTS idx_ical_uid ON ical_objs ( ical_uid );
<br>
[ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF
NOT EXISTS vcard_objs ( rowid INTEGER PRIMARY KEY, creationdate
INTEGER, mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid
INTEGER, lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT,
lock_expire INTEGER, version INTEGER, vcard_uid TEXT, kind
INTEGER, fullname TEXT, name TEXT, nickname TEXT, email TEXT,
UNIQUE( mailbox, resource ) );
<br>
[ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF
NOT EXISTS idx_vcard_uid ON vcard_objs ( vcard_uid );
<br>
[ID 702911 local2.info] as "standard" with "Mozilla/5.0 (X11;
Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
Lightning/2.6.5"; "PROPFIND /dav/calendars/users/standard/Default/
HTTP/1.1" (depth=0) => "404 Not Found" (error=The requested URL
was not found on this server.)
<br>
</blockquote>
<br>
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dav/calendars/users/standard/Default<span
class="moz-txt-tag">/<br>
<br>
</span></i><span class="moz-txt-slash"><span class="moz-txt-tag">should
be:<br>
<br>
<br>
</span></span><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dav/calendars/user/standard/Default<span
class="moz-txt-tag">/</span></i><br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
</pre>
</body>
</html>