On Feb 9, 2011, at 9:51 AM, Andre LaBranche wrote:


On Feb 9, 2011, at 6:32 AM, Lisana Berberi wrote:

hello,

can sb help me how to Install and Setup CardDAV server via caldav (which is working great) in debian squeeze?

I don't know what version of Calendar Server you are using, but CardDAV is not supported in release 2.4.

If you are running trunk, CardDAV capabilities are integrated with the caldav daemons; all you need to do is edit /etc/caldavd/caldavd.plist to enable CardDAV and possibly add an extra listener port (e.g. 8800).

The plist setting for enabling CardDAV is:  

<key>EnableCardDAV</key>
<true/>

This is *enabled* by default, as you can see in twistedcaldav/stdconfig.py

CardDAV clients typically want to connect on port 8800 (for non-ssl), so you should add that to BindHTTPPorts, like such:

<key>BindHTTPPorts</key>
 <array>
     <integer>8008</integer>
     <integer>8800</integer>
 </array>

Also check your augments.xml file; afaik it should enable both services for all record types by default, but check anyway. An example of a basic default config:

http://trac.calendarserver.org/browser/CalendarServer/trunk/conf/auth/augments-default.xml

-dre