Hello

I want as admin to create a calendar for a user.

I've thought that the best solution was to use MKCALENDAR via caldav

But I did not  manage to do it with the  admin (it work using the user login 
password)

I've tried different URLs but always get a 403 Forbidden

Here is what i've  tried



curl -u 'myadmin@mydomain:mypassword' --header "Content-Type:text/xml"  -d 
@mkcal1.xml -X MKCALENDAR 
http://localhost:8008/dav/calendars/user/myadmin@mydomain/[email protected]


curl -u 'myadmin@mydomain:mypassword' --header "Content-Type:text/xml"  -d 
@mkcal1.xml -X MKCALENDAR 
http://localhost:8008/dav/calendars/user/myuser@mydomain/Default




I 'm using this for my mkcal1.xml
<?xml version="1.0" encoding="utf-8" ?>
   <C:mkcalendar xmlns:D="DAV:"
                 xmlns:C="urn:ietf:params:xml:ns:caldav">
     <D:set>
       <D:prop>
         <D:displayname>Calendar</D:displayname>
         <C:calendar-description xml:lang="fr">events</C:calendar-description>
         <C:supported-calendar-component-set>
           <C:comp name="VEVENT"/>
         </C:supported-calendar-component-set>
       </D:prop>
     </D:set>
   </C:mkcalendar>


the ACL are set like this


user/myuser/#calendars@mydomain
    myadmin@mydomain lrswipkxtecdan9
     myuser@mydomain lrswipkxtecdan








------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/T30a67b2b3c24ef11-Ma155a2ca374de403b54d4d49
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to