[CalendarServer-users] Again: Howto Contact Server

Stefan Bollmann stefan.bollmann at rwth-aachen.de
Fri Feb 1 13:09:36 PST 2013


Thanks for the reply!

Am 01.02.2013 um 20:47 schrieb Andre LaBranche:

> Hi,
> 
> You can't do CardDAV using Calendar.app, you need to use Contacts.app (or some other CardDAV client) for that. Calendar Server will provide CardDAV service if the EnableCardDAV option is set in caldavd.plist.
> 
> Cheers,
> -dre
> 

Ok, my CalendarServer-4.2/conf/caldavd-dev.plist (see (*********)) reads (with <IP of server> - my server IP):

<?xml version="1.0" encoding="UTF-8"?>
...
<dict>
        <key>ServerHostName</key>
        <string><IP of server></string>
        <key>EnableCalDAV</key>
        <true/>
        <key>EnableCardDAV</key>
        <true/>
        <key>HTTPPort</key>
        <integer>8008</integer>
        <key>SSLPort</key>
        <integer>8443</integer>
        <key>EnableSSL</key>
        <true/>
        <key>RedirectHTTPToHTTPS</key>
        <false/>
...

The thing is, that I am not able to synchronize any contact, whether on a mac-client (with the standard address book) with the server or with Android. On my Android I have CardDAV-Sync free. The calendar properties seem to be ok. I can synchronize my appointments. But with the address book, I don't know how to test, what to do...

> On Feb 1, 2013, at 11:45 AM, Stefan Bollmann <stefan.bollmann at rwth-aachen.de> wrote:
> 
>> [...]
>> Am 29.01.2013 um 21:45 schrieb Stefan Bollmann:
>> 
>>> Hi,
>>> 
>>> I'm very happy to somehow use CalendarServer-4.2 for CalDAV. Therefore I followed mostly the instructions of http://www.ronregev.com/misc/pim_server_tutorial/ - even if they are old. Following the steps depicted there I'm able to synchronize my calendars. 
>>> 
>>> But how can I configure address books with CalendarServer? I did not find nothing for this topic. 
>>> 
>>> For the sake of completeness I add here, what I did for the calendars:
>>> 
>>> On my server I made
>>> 
>>> svn co https://svn.calendarserver.org/repository/calendarserver/CalendarServer/tags/release/CalendarServer-4.2/
>>> cd CalendarServer-4.2
>>> ./run -s
(*********)
>>> Copied CalendarServer-4.2/conf/caldavd-test.plist to CalendarServer-4.2/conf/caldavd-dev.plist
>>> and changed in caldavd-dev.plist internal IP addresses and BindAddresses as written in http://www.ronregev.com/misc/pim_server_tutorial/.
>>> Then I changed CalendarServer-4.2/conf/auth/accounts-test.xml that it now reads 
>>> 
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <!--
>>> ...License stuff...
>>> -->
>>> <!DOCTYPE accounts SYSTEM "accounts.dtd">
>>> 
>>> <accounts realm="Test Realm">
>>> <user>
>>> <uid>admin</uid>
>>> <guid>admin</guid>
>>> <password>PASSWORD</password>
>>> <name>Administrator</name>
>>> </user>
>>> <user>
>>> <uid>MYUID</uid>
>>> <guid>MYUID</guid>
>>> <password>PASSWORD</password>
>>> <name>Stefan Bollmann</name>
>>> <first-name>Stefan</first-name>
>>> <last-name>Bollmann</last-name>
>>> </user>
>>> <group>
>>> <uid>group01</uid>
>>> <guid>group01</guid>
>>> <password>group01</password>
>>> <name>Group 01</name>
>>> <members>
>>>   <member type="users">user01</member>
>>> </members>
>>> </group>
>>> </accounts>
>>> 
>>> admin password was changed.
>>> now
>>> cd ~/calendar/CalendarServer
>>> ./run
>>> 
>>> Then I opened iCal-> Preferences->Accounts tab->+
>>> and configured an account with user name, password and server address with ssl like in accounts-test.xml.
>>> Now everything works fine with this calendar, I can change it on clients and everythings fine. I did not do the guid things described in http://www.ronregev.com/misc/pim_server_tutorial/. But here the applicability of the Howto ends...
>>> 
>>> Thanks in advance,
>>> Stefan
>> 
>> -- 
>> "Hohe Bildung kann man dadurch beweisen, daß man die kompliziertesten Dinge auf einfache Art zu erläutern versteht."
>> George Bernhard Shaw
>> 
>> _______________________________________________
>> calendarserver-users mailing list
>> calendarserver-users at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/calendarserver-users
> 

-- 
„Ich möchte gern, daß man Stolz als eine edle Eigenschaft der Seele ansähe; als ein Bewußtsein wahrer innerer Erhabenheit und Würde; als ein Gefühl der Unfähigkeit, niederträchtig zu handeln.“ 
Adolph Freiherr Knigge: Über den Umgang mit Menschen



More information about the calendarserver-users mailing list