On Thu, 2009-02-19 at 18:17 +0000, Richard Palmer wrote: > I'm having a problem sharing the default calendar folder with > other users. I might be misunderstanding the tool, but using > openchangepfadmin to add role/permissions does not seem to be > effective (The calendar is still not visable to other users in > Outlook). Perhaps the default Calendar is not a public folder? > (running openchangeclient -pf --mailbox returns no entries). In > which case is there some way to share/set permissions for the > default Calendar?.
Hi Richard,
openchangepfadmin is indeed meant/designed to work with Public Folders
only. If you are referring to "default calendar" as "the calendar folder
available within user's mailbox", then yes it does not belong to public
folders but to user private mailbox.
At the moment rights/permissions modifications have not been propagated
to openchangeclient, so these operations are not directly available from
openchange tools. However factorizing openchangeclient/openchangepfadmin
code base to extend openchangeclient features looks doable with minimal
efforts. The only real change would be to move from OpenMsgStore to
OpenUserMailbox calls directly which should provide the ability to open
other user mailboxes than the default user one (assuming you set
permissions accordingly).
Anyway, if you're looking for a way to create a shared calendar quickly
- with existing tools and no further modifications - you can create it
within Public Folders.
Note: your MAPI profile needs to have Administrator permissions (unless
PF store was configured otherwise) to write at Public Folders root.
$ mapiprofile -P office_admin -S
$ openchangepfadmin --mkdir --folder="Shared Calendar" --folder-comment="Shared
Calendar" --dirclass="IPF.Appointment"
$ openchangeclient --pf --mailbox
|---+ IPM_SUBTREE [FID: 0x100000000000001]
| |---+ Internet Newsgroups [FID: 0x300ffffffff0002]
| |---+ Shared Calendar [FID: 0x3781000000000001]
[...]
$ openchangepfadmin --list
+ All Public Folders
|---+ Internet Newsgroups
|---+ Shared Calendar
$ openchangepfadmin --folder="Shared Calendar" --username=user1
--addright=RightsReadItems
$ openchangepfadmin --folder="Shared Calendar" --username=user2
--addright=RoleOwner
To list available permissions, run:
openchangepfadmin --folder="Shared Calendar" --username=user1 --addright=
This "Shared Calendar" will be available within Public Folders as:
- Read-Only for user1
- All operations available for user2
Regards,
Julien.
--
Julien Kerihuel
[email protected]
OpenChange Project Manager
GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
