Hi! First of all, Calendar Server rocks! I have it installed on Debian (using XML for the directory service) connected to several Mac clients. However, there are a few issues I'm hoping someone could shed some light on before I dig through the code... For now I'm using the default access.xml file with the following addition: <user> <uid>test2</uid> <password>test2</password> <name>Test User 2</name> <cuaddr>mailto:testuser2@example.com</cuaddr> </user> test2 is then added as a proxy to the mercury conference room and the users group. I have created accounts in iCal for both test and test2 (and they are able to add each other to events, accept/decline, etc... which is awesome!). Here are the issues I'm having: 1) The mercury conference room shows up fine when browsing via Safari, but iCal can't seem to find it when I try to add "Location" to an event. As per the defaults, in accounts.xml the <auto-schedule/> entry appears for mercury. 2) In iCal > Accounts > Delegation (for both test and test2), it is impossible to grant anyone access to the current account. Whenever I try to add a user (e.g. test, test2, testuser@example.com, etc...) it says that the user was not found. Interestingly, in the Calendar Server logfile there is no activity - it's as though it is not even trying to look up that principle. 3) Related to point 2, there seems to be an autocomplete feature throughout the system, but it never returns anything. I can add attendees to events by typing their email address correctly, but it never makes any suggestions... I'm assuming that some/all of these problems are related to using XML instead of OpenDirectory? If so, perhaps my company could donate some time to fixing them... but it would be nice to get more information about what's broken. Thanks! James Hill Development Manager Economic Modeling Specialists, Inc. www.economicmodeling.com
On Oct 31, 2007, at 2:57 PM, James Hill wrote:
1) The mercury conference room shows up fine when browsing via Safari, but iCal can't seem to find it when I try to add "Location" to an event. As per the defaults, in accounts.xml the <auto- schedule/> entry appears for mercury.
iCal relies on OpenDirectory to do user/room completion. For the time being, at least, you have to enter a valid calendar user addresd into the location field. You can add user using the <cuaddr> tag in the XML file (eg: mailto:mercury@example.com), or use the URL for the room (/principals/locations/Mercury/).
2) In iCal > Accounts > Delegation (for both test and test2), it is impossible to grant anyone access to the current account. Whenever I try to add a user (e.g. test, test2, testuser@example.com, etc...) it says that the user was not found. Interestingly, in the Calendar Server logfile there is no activity - it's as though it is not even trying to look up that principle.
Hrm. I'm not sure that iCal is trying to do there... try "mailto:testuser@example.com " and see if that sends a request to the server.
3) Related to point 2, there seems to be an autocomplete feature throughout the system, but it never returns anything. I can add attendees to events by typing their email address correctly, but it never makes any suggestions...
That feature relies on OpenDirectory, as I mentioned above.
I'm assuming that some/all of these problems are related to using XML instead of OpenDirectory? If so, perhaps my company could donate some time to fixing them... but it would be nice to get more information about what's broken.
Unfortunately, I think you are being limited by what iCal knows how to do at the moment. -wsv
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wilfredo Sánchez Vega wrote:
On Oct 31, 2007, at 2:57 PM, James Hill wrote:
1) The mercury conference room shows up fine when browsing via Safari, but iCal can't seem to find it when I try to add "Location" to an event. As per the defaults, in accounts.xml the <auto-schedule/> entry appears for mercury.
iCal relies on OpenDirectory to do user/room completion. For the time being, at least, you have to enter a valid calendar user addresd into the location field. You can add user using the <cuaddr> tag in the XML file (eg: mailto:mercury@example.com), or use the URL for the room (/principals/locations/Mercury/). Is it possible to use another ldapserver? Regards, Tarjei
2) In iCal > Accounts > Delegation (for both test and test2), it is impossible to grant anyone access to the current account. Whenever I try to add a user (e.g. test, test2, testuser@example.com, etc...) it says that the user was not found. Interestingly, in the Calendar Server logfile there is no activity - it's as though it is not even trying to look up that principle.
Hrm. I'm not sure that iCal is trying to do there... try "mailto:testuser@example.com" and see if that sends a request to the server.
3) Related to point 2, there seems to be an autocomplete feature throughout the system, but it never returns anything. I can add attendees to events by typing their email address correctly, but it never makes any suggestions...
That feature relies on OpenDirectory, as I mentioned above.
I'm assuming that some/all of these problems are related to using XML instead of OpenDirectory? If so, perhaps my company could donate some time to fixing them... but it would be nice to get more information about what's broken.
Unfortunately, I think you are being limited by what iCal knows how to do at the moment.
-wsv
----------------------------------------------------------------------
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHKXY2YVRKCnSvzfIRAn5xAJwLGhiEN0p1n+nNrskANsTjTB2UEACdFHlP C8c1v5W2SpQJHuHfIi8FkyM= =ZAvz -----END PGP SIGNATURE-----
On Oct 31, 2007, at 6:02 PM, Wilfredo Sánchez Vega wrote:
iCal relies on OpenDirectory to do user/room completion. For the time being, at least, you have to enter a valid calendar user addresd into the location field. You can add user using the <cuaddr> tag in the XML file (eg: mailto:mercury@example.com), or use the URL for the room (/principals/locations/Mercury/).
Thanks for the quick response! I tried adding the <cuaddr> tag and then inputting mercury@example.com to the event location... but no dice (I also tried /principals/locations/mercury/). The cuaddr is definitely working - here's a snippet from the "Principal Details" page for mercury: Calendar user addresses: -> /principals/locations/mercury/ -> mailto:mercury@example.com In iCal the "Mercury Conference Room" shows up (read/write) for both my test users in "Accounts I can access"... i just can't add it to event locations. Is it possible that iCal requires OpenDirectory even if you enter the correct location address? At any rate, a decent workaround seems to be adding <cuaddr>mercury@example.com </cuaddr> to mercury in accounts.xml and then adding mercury@example.com to the list of attendees for the event (and leaving the location blank). Although mercury never confirms, the event time slot shows up as taken when you schedule other events, which allows you to schedule locations/resources (albeit in a non- optimal fashion). Cheers! James Hill Development Manager Economic Modeling Specialists, Inc. www.economicmodeling.com
Hi James, --On November 1, 2007 4:53:10 PM -0700 James Hill <james@economicmodeling.com> wrote:
Thanks for the quick response! I tried adding the <cuaddr> tag and then inputting mercury@example.com to the event location... but no dice (I also tried /principals/locations/mercury/).
The cuaddr is definitely working - here's a snippet from the "Principal Details" page for mercury:
Calendar user addresses: -> /principals/locations/mercury/ -> mailto:mercury@example.com
In iCal the "Mercury Conference Room" shows up (read/write) for both my test users in "Accounts I can access"... i just can't add it to event locations. Is it possible that iCal requires OpenDirectory even if you enter the correct location address?
At any rate, a decent workaround seems to be adding <cuaddr>mercury@example.com</cuaddr> to mercury in accounts.xml and then adding mercury@example.com to the list of attendees for the event (and leaving the location blank). Although mercury never confirms, the event time slot shows up as taken when you schedule other events, which allows you to schedule locations/resources (albeit in a non-optimal fashion).
First off a calendar user address has to be a valid URI (according to iCalendar standards) so you need to have <cuaddr>mailto:mercury@example.com</cuaddr> (note the 'mailto'). Second, I think iCal will only recognize locations as being on the server when its hooked up to a 10.5 open directory server. So right now, if you want to "book" a location, you need to include an Attendee for that location using the location calendar user address. -- Cyrus Daboo
participants (4)
-
Cyrus Daboo
-
James Hill
-
tarjei
-
Wilfredo Sánchez Vega