Howto Contact Server
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... 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 -- "We do not know, but we are willing to bet that your child who is too irrational to be deterred by your threats of punishment is a better instinctive game-player than you are." aus Strategic Thinking, Dixit, 1991
Hi, maybe I missed something.. Nobody out there who can help? At the end, I'd love to write a howto. Stefan 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... 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
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 On Feb 1, 2013, at 11:45 AM, Stefan Bollmann <stefan.bollmann@rwth-aachen.de> wrote:
Hi,
maybe I missed something.. Nobody out there who can help? At the end, I'd love to write a howto.
Stefan
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... 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@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/calendarserver-users
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@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... 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@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
On Feb 1, 2013, at 1:09 PM, Stefan Bollmann <stefan.bollmann@rwth-aachen.de> wrote:
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...
Add a CardDAV account either though Contacts.app preferences, or the "Mail, Contacts & Calendars" prefpane. Logging Contacts.app should then present a server-side collection named after your server. You need to click the left-most button in this toolbar to see the collections: Different clients using the same credentials should have the same view of the server-side contacts. The supported use case is for a user to have a centralized contacts database shared between that user's devices and computers. -dre
?-/ Sry, that I am not able to reproduce all of this...
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... Add a CardDAV account either though Contacts.app preferences, or the "Mail, Contacts & Calendars" prefpane.
On the mac or android? Well, I wondered what Contacts.app you talk about. I cannot find it on both clients I can use.. A google search for contacts.app results in apps for the IPhone or others with other names than contacts.app. Maybe it is "Address Book.app".
Logging Contacts.app should then present a server-side collection named after your server. You need to click the left-most button in this toolbar to see the collections:
Ok, I see the server name. As described in http://www.ronregev.com/misc/pim_server_tutorial/, there is always an error message, when I create it: "Address book couldn't discover the account settings for the CardDAV server "<server ip>". Make sure the user name and server address are correct, then click Create" Before this message I accepted the certificate of my server. I am not sure, whether to use <server ip>:8443 or only <server ip>. Nevertheless, I cannot see any difference from my Address Books reaction.
<PastedGraphic-1.png>
Following http://www.ronregev.com/misc/pim_server_tutorial/, I create the account neglecting the message and I see the server name as you describe it. But there is no sychronizing and in the settings of the new account the 'Server Settings' options are blank. I am able to set the Server address there, but the option 'Server path' is not greyed and not applicable. I set 'Port' to 8443. I do not want to spam everyone with the pictures. The dialogue I described looks like on http://boltzmann.office-on-the.net/~stefan/nogoodconf.png with everything blank and http://boltzmann.office-on-the.net/~stefan/notbetter.png when I filled Port and IP. Last time I tried to follow http://www.ronregev.com/misc/pim_server_tutorial/. It is an old howto, he suggests to find out a 'guid' of the principal and to write that value into HOME/contacts/ContactsServer/conf/auth/accounts-test.xml. At that time, a software called ContactsServer existed on the CalendarServer :-) . That is, why and where I don't get any further...
Different clients using the same credentials should have the same view of the server-side contacts. The supported use case is for a user to have a centralized contacts database shared between that user's devices and computers.
Ok, thats what I'd like to have. When I use CardDAV-Sync free on android and use the IP of my server with the calendar user name and its password everything seem(!) to be fine. Well, there are no contacts on the server, because I am not able to add one or to test it. Whatever I do - add one contact on android or on a mac, nothing happens on any other device :-/ . I have two Snow Leopards here and one android. ... Thank you for the readin' Stefan -- "John F. Kennedy didn't look up the moon and sai': 'That's too far.'" Barack Obama
Hi, does anyone know how to get access for changing the Wiki of http://trac.calendarserver.org (/wiki) ? Greetings Stefan -- "Man's body is faulty, his mind untrustworthy, but his imagination has made him remarkable.", Masefield
On Feb 4, 2013, at 5:46 AM, Stefan Bollmann <stefan.bollmann@rwth-aachen.de> wrote:
Hi,
does anyone know how to get access for changing the Wiki of http://trac.calendarserver.org (/wiki) ?
Hi, We don't have a formalized procedure for this, but in general it's something that is earned; to quote our HACKING document: Contributions from other developers are welcome, and, as with all open development projects, may lead to "commit access" and a voice in the future of the project. Any self-contained documents should be written in RST format so they can be checked into SVN, and then linked to from the wiki. This also makes the documents easy to update via patching. For example: http://trac.calendarserver.org/browser/CalendarServer/trunk/doc/Admin/MultiS... which is linked from: http://trac.calendarserver.org/wiki/docs-trunk For now, if you want to contribute (which is great!), you can email an RST document for review. Thanks! -dre
Greetings Stefan
-- "Man's body is faulty, his mind untrustworthy, but his imagination has made him remarkable.", Masefield
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/calendarserver-users
On Feb 4, 2013, at 1:02 PM, Andre LaBranche <dre@apple.com> wrote:
For now, if you want to contribute (which is great!), you can email an RST document for review.
Actually it would probably be better to submit a trac ticket with attachment, instead of email. Cheers, -dre
participants (2)
-
Andre LaBranche
-
Stefan Bollmann