[CalendarServer-users] How to accept an invitation?

Peter Huetmannsberger huetmann at violine.at
Tue Feb 9 09:00:23 PST 2010


Hello, thank you again.

As I said, the only problem I have left now, is that I cannot 
accept/decline. I don't get the option in Sunbird. It does send out 
invitations to non-local users, and those I can accept/decline. Only the 
local users I don't seem to have the option for.

Below, as requested my caldav.plist. and my accounts.xml

Thank you,

.peter

PS: Mailing the invitation to outside users works fine.

---------------------%<---------------------------------------

<?xml version="1.0" encoding="UTF-8"?>

<!--
     Copyright (c) 2006-2007 Apple Inc. All rights reserved.

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
   -->

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
   <dict>

     <!--
         Public network address information

         This is the server's public network address, which is provided to
         clients in URLs and the like.  It may or may not be the network
         address that the server is listening to directly, though it is by
         default.  For example, it may be the address of a load balancer or
         proxy which forwards connections to the server.
       -->

     <!-- Network host name [empty = system host name] -->
     <key>ServerHostName</key>
     <string></string> <!-- The hostname clients use when connecting -->

     <!-- HTTP port [0 = disable HTTP] -->
     <key>HTTPPort</key>
     <integer>8008</integer>

     <!-- SSL port [0 = disable HTTPS] -->
     <!-- (Must also configure SSLCertificate and SSLPrivateKey below) -->
     <!--
     <key>SSLPort</key>
     <integer>443</integer>
     -->

     <!-- Redirect non-SSL ports to an SSL port (if configured for SSL) -->
     <key>RedirectHTTPToHTTPS</key>
     <false/>


     <!--
         Network address configuration information

         This configures the actual network address that the server binds to.
       -->

     <!-- List of IP addresses to bind to [empty = all] -->
     <key>BindAddresses</key>
     <array>
     </array>

     <!-- List of port numbers to bind to for HTTP [empty = same as "Port"] -->
     <key>BindHTTPPorts</key>
     <array>
     </array>

     <!-- List of port numbers to bind to for SSL [empty = same as "SSLPort"] -->
     <key>BindSSLPorts</key>
     <array>
     </array>


     <!--
         Data Store
       -->

     <!-- Data root -->
     <key>DataRoot</key>
     <string>/var/caldavd/Data/</string>

     <!-- Document root -->
     <key>DocumentRoot</key>
     <string>/var/caldavd/Documents/</string>

     <!-- Child aliases -->
     <key>Aliases</key>
     <dict>
       <!--
       <key>foo</key>
       <dict>
         <key>path</key>
         <string>/path/to/foo</string>
       </dict>
        -->
     </dict>

     <!-- User quota (in bytes) -->
     <key>UserQuota</key>
     <integer>104857600</integer><!-- 100Mb -->

     <!-- Attachment size limit (in bytes) -->
     <key>MaximumAttachmentSize</key>
     <integer>1048576</integer><!-- 1Mb -->

     <!-- Maximum number of unique attendees per entire event -->
     <!-- 0 for no limit -->
     <key>MaxAttendeesPerInstance</key>
     <integer>100</integer>

     <!-- Maximum number of instances allowed for a single RRULE -->
     <!-- 0 for no limit -->
     <key>MaxInstancesForRRULE</key>
     <integer>400</integer>


     <!--
         Directory service

         A directory service provides information about principals (eg.
         users, groups, locations and resources) to the server.

         A variety of directory services are available for use.
       -->

     <!-- XML File Directory Service -->
     <key>DirectoryService</key>
     <dict>
       <key>type</key>
       <string>twistedcaldav.directory.xmlfile.XMLDirectoryService</string>

       <key>params</key>
       <dict>
         <key>xmlFile</key>
         <string>/etc/caldavd/accounts.xml</string>
       </dict>
     </dict>

     <!-- Open Directory Service (Mac OS X) -->
     <!--
     <key>DirectoryService</key>
     <dict>
       <key>type</key>
       <string>twistedcaldav.directory.appleopendirectory.OpenDirectoryService</string>

       <key>params</key>
       <dict>
         <key>node</key>
         <string>/Search</string>
         <key>restrictEnabledRecords</key>
         <false/>
         <key>restrictToGroup</key>
         <string></string>
         <key>cacheTimeout</key>
         <integer>30</integer>
       </dict>
     </dict>
      -->

     <!--
         Special principals

         These principals are granted special access and/or perform
         special roles on the server.
       -->

     <!-- Principals with "DAV:all" access (relative URLs) -->
     <key>AdminPrincipals</key>
     <array>
       <string>/principals/__uids__/38eae584-2b75-582b-a058-018391d1003f/</string>
       <string>/principals/__uids__/7eb832ae-11d2-5968-88ea-ee3c01bf5619/</string>
     </array>

     <!-- Principals with "DAV:read" access (relative URLs) -->
     <key>ReadPrincipals</key>
     <array>
       <string>/principals/__uids__/d817aaec-7d24-5b38-bc2f-6369da72cdd9/</string>
     </array>

     <!-- Principals that can pose as other principals -->
     <key>SudoersFile</key>
     <string>/etc/caldavd/sudoers.plist</string>

     <!-- Create "proxy access" principals -->
     <key>EnableProxyPrincipals</key>
     <true/>


     <!--
         Permissions
       -->

     <!-- Anonymous read access for root resource -->
     <key>EnableAnonymousReadRoot</key>
     <true/>

     <!-- Anonymous read access for resource hierarchy -->
     <key>EnableAnonymousReadNav</key>
     <true/>

     <!-- Enables directory listings for principals -->
     <key>EnablePrincipalListings</key>
     <true/>

     <!-- Render calendar collections as a monolithic iCalendar object -->
     <key>EnableMonolithicCalendars</key>
     <true/>


     <!--
         Authentication
       -->

     <key>Authentication</key>
     <dict>

       <!-- Clear text; best avoided -->
       <key>Basic</key>
       <dict>
         <key>Enabled</key>
         <false/>
       </dict>

       <!-- Digest challenge/response -->
       <key>Digest</key>
       <dict>
         <key>Enabled</key>
         <true/>
         <key>Algorithm</key>
         <string>md5</string>
         <key>Qop</key>
         <string></string>
       </dict>

       <!-- Kerberos/SPNEGO -->
       <key>Kerberos</key>
       <dict>
         <key>Enabled</key>
         <true/>
         <key>ServicePrincipal</key>
         <string></string>
       </dict>

     </dict>


     <!--
         Logging
       -->

     <!-- Apache-style access log -->
     <key>AccessLogFile</key>
     <string>/var/log/caldavd/access.log</string>
     <key>RotateAccessLog</key>
     <true/>

     <!-- Server activity log -->
     <key>ErrorLogFile</key>
     <string>/var/log/caldavd/error.log</string>

     <!-- Log levels -->
     <key>DefaultLogLevel</key>
     <string>warn</string> <!-- debug, info, warn, error -->

     <!-- Global server stats -->
     <key>GlobalStatsSocket</key>
     <string>/var/run/caldavd-stats.sock</string>

     <!-- Server statistics file -->
     <key>ServerStatsFile</key>
     <string>/var/run/caldavd/stats.plist</string>

     <!-- Server process ID file -->
     <key>PIDFile</key>
     <string>/var/run/caldavd/caldavd.pid</string>


     <!--
         SSL/TLS
       -->

     <!-- Public key -->
     <key>SSLCertificate</key>
     <string></string>

     <!-- Private key -->
     <key>SSLPrivateKey</key>
     <string></string>


     <!--
         Process management
       -->

     <key>UserName</key>
     <string>caldavd</string>

     <key>GroupName</key>
     <string>caldavd</string>

     <key>ProcessType</key>
     <string>Combined</string>

     <key>MultiProcess</key>
     <dict>
       <key>ProcessCount</key>
       <integer>0</integer> <!-- 0 = larger of: 4 or (2 * CPU count) -->
     </dict>


     <!--
         Notifications
       -->

     <key>Notifications</key>
     <dict>
       <!-- Time spent coalescing notifications before delivery -->
       <key>CoalesceSeconds</key>
       <integer>5</integer>

       <key>Services</key>
       <dict>
         <key>XMPPNotifier</key>
         <dict>
           <!-- XMPP notification service -->
           <key>Service</key>
           <string>twistedcaldav.notify.XMPPNotifierService</string>
           <key>Enabled</key>
           <false/>

           <!-- XMPP host and port to contact -->
           <key>Host</key>
           <string>xmpp.host.name</string>
           <key>Port</key>
           <integer>5222</integer>

           <!-- Jabber ID and password for the server -->
           <key>JID</key>
           <string>jid at xmpp.host.name/resource</string>
           <key>Password</key>
           <string>password_goes_here</string>

           <!-- PubSub service address -->
           <key>ServiceAddress</key>
           <string>pubsub.xmpp.host.name</string>
         </dict>
       </dict>
     </dict>


     <!--
         Server-to-server protocol
       -->

     <key>Scheduling</key>
     <dict>

       <!-- CalDAV protocol options -->
       <key>CalDAV</key>
       <dict>
         <key>EmailDomain</key>
         <string>viols.net</string>
         <key>HTTPDomain</key>
         <string></string>
         <key>AddressPatterns</key>
         <array>
         </array>
       </dict>

       <!-- iSchedule protocol options -->
       <key>iSchedule</key>
       <dict>
         <key>Enabled</key>
         <false/>
         <key>AddressPatterns</key>
         <array>
         </array>
         <key>Servers</key>
         <string>/etc/caldavd/servertoserver.xml</string>
       </dict>

       <!-- iMIP protocol options -->
       <key>iMIP</key>
       <dict>
         <key>Enabled</key>
         <true/>
         <key>MailGatewayServer</key>
         <string>localhost</string>
 	<key>Username</key>
 	<string>huetmann</string>
           <key>Password</key>
           <string>xxxxxx</string>
         <key>MailGatewayPort</key>
         <integer>62310</integer>
         <key>Sending</key>
         <dict>
           <key>Server</key>
           <string>localhost</string>
           <key>Port</key>
           <integer>25</integer>
           <key>UseSSL</key>
           <false/>
           <key>Username</key>
           <string>huetmann</string>
           <key>Password</key>
           <string>xxxxx</string>
           <key>Address</key>
           <string>centoscal at violine.at</string> <!-- Address email will be sent from -->
         </dict>
         <key>Receiving</key>
         <dict>
           <key>Server</key>
           <string>81.223.13.178</string>
           <key>Port</key>
           <integer>110</integer>
           <key>Type</key>
           <string>pop</string> <!-- Either "pop" or "imap" -->
           <key>UseSSL</key>
           <false/>
           <key>Username</key>
           <string>centoscal</string>
           <key>Password</key>
           <string>xxxxxxx</string>
           <key>PollingSeconds</key>
           <integer>30</integer>
         </dict>
         <key>AddressPatterns</key>
         <array>
           <string>mailto:.*</string>
         </array>
       </dict>

     </dict>


     <!--
         Free-busy URL protocol
       -->

     <key>FreeBusyURL</key>
     <dict>
       <key>Enabled</key>
       <true/>
       <key>TimePeriod</key>
       <integer>14</integer>
       <key>AnonymousAccess</key>
       <false/>
     </dict>


     <!--
         Non-standard CalDAV extensions
       -->

     <!-- Private Events -->
     <key>EnablePrivateEvents</key>
     <true/>


     <!--
         Miscellaneous items
       -->

     <!-- Web-based administration -->
     <key>EnableWebAdmin</key>
     <true/>


   </dict>
</plist>

---------------------------------->%----------------------------

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE accounts SYSTEM "accounts.dtd">

<accounts realm="Test Realm">
   <user>
     <uid>admin</uid>
     <password>xxxxx</password>
     <name>Super User</name>
     <guid>38eae584-2b75-582b-a058-018391d1003f</guid>
   </user>
   <user>
     <uid>huetmann</uid>
     <password>xxxxxxx</password>
     <name>Peter Huetmannsberger</name>
     <guid>7eb832ae-11d2-5968-88ea-ee3c01bf5619</guid>
     <cuaddr>mailto:huetmann at violine.at</cuaddr>
   </user>
   <user>
     <uid>test</uid>
     <password>xxxxxx</password>
     <name>Test User</name>
     <cuaddr>mailto:peter at viols.net</cuaddr>
     <guid>d817aaec-7d24-5b38-bc2f-6369da72cdd9</guid>
   </user>
   <group>
     <uid>users</uid>
     <password>xxxxx</password>
     <name>Users Group</name>
     <members>
       <member type="users">test</member>
     </members>
   </group>
<!--  <location>
     <uid>mercury</uid>
     <password>mercury</password>
     <name>Mecury Conference Room, Building 1, 2nd Floor</name>
    <auto-schedule/>
     <proxies>
       <member type="users">test</member>
     </proxies>
   </location> -->
</accounts>




More information about the calendarserver-users mailing list