I've modified openchangeclient so users can now post/recv/delete any items supported in openchangeclient (mail,calendar,tasks,contacts) in a user supplied PF directory.
Example:
We first create a Public calendar with openchangepfadmin:
openchangepfadmin --mkdir --folder=cal --dirclass=IPF.Appointment
We now use openchangeclient to create an appointment in this folder:
openchangeclient --pf --sendappointment --folder=cal \
--location=Cambridge --dtstart="2007-09-01 18:00:00" \
--dtend="2007-09-04 23:30:00" --busystatus=BUSY \
--subject="LinuxConf.eu"
The same behavior is applied to other items:
--pf --folder=xxx --sendmail || --fetchmail || --deletemail
--pf --folder=xxx --sendtask
--pf --folder=xxx --sendcontact
I'll certainly extend PF implementation and granular directory selection
to mailbox store.
On Mon, 2007-08-27 at 19:40 +0200, Julien Kerihuel wrote:
> Hi List,
>
> I've pushed a preliminary version of the mapiadmin library and
> openchangepfadmin (Public Folders management). You will find below a
> subset of commands you can test. Note that openchangepfadmin and
> libmapiadmin are alpha; so you shouldn't be surprised if you find bugs.
>
> *******************************
> Contents:
> 1. Public Folder Management
> 1.1 list folder hierarchy
> 1.2 create a directory
> 1.3 remove a directory
> 2. User Management
> 2.1 add user
> 2.2 delete user
> 3. Permissions and Delegation
> 3.1 add user permission
> 3.2 modify user permission
> 3.3 delete user permission
> *******************************
>
> Note this tool requires Administrator account privileges.
>
>
> 1. Public Folder Management
> ===========================
>
> 1.1 List IPM SUBTREE PF store hierarchy
> ----------------------------------------
> openchangepfadmin --list
>
> 1.2 Create a directory
> ----------------------
>
> openchangepfadmin --mkdir --folder=test_me --dirclass=IPF.Appointment
>
> This will create a Public calendar named test_me under "All Public
> Folders"
>
> 1.3 Remove a directory
> -----------------------
>
> openchangepfadmin --rmdir --folder=test_me
>
> It will empty the folder (remove any items) and finally delete the
> folder
>
>
>
> 2. User Management
> ==================
>
> 2.1 Add User to AD and create its Exchange mailbox
> ---------------------------------------------------
> openchangepfadmin --adduser=linux --apassword=linux \
> --adesc="OpenChange Linux account" \
> --acomment="This is a comment" \
> --afullname="Linux User"
> mapiadmin_user_add : MAPI_E_SUCCESS (0x0)
> username: linux
> password: linux
>
>
> 2.2 Delete a user from AD
> --------------------------
> openchangepfadmin --rmuser=linux
> mapiadmin_user_del : MAPI_E_SUCCESS (0x0)
>
> While the account is really removed from AD, I still have doubts whether
> the Exchange mailbox is also deleted or not. This would certainly
> require some investigations.
>
>
> 3. Permissions and Delegation
> ==============================
> I have not yet implemented a --listright feature, but you can check
> permission for a given folder in Outlook: right-click on the folder,
> select Sharing.
>
>
> 1. Add User Permission
> ----------------------
> openchangepfadmin --addright=RoleReviewer \
> --folder=test_me \
> --username=linux
> Permission RoleReviewer added for linux on folder test_me
>
>
> 2. Modify User Permission
> -------------------------
> openchangepfadmin --modright=RoleAuthor \
> --folder=test_me \
> --username=linux
>
> Permission changed to RoleAuthor for linux on folder test_me
>
>
>
> 3. Remove User Permission
> -------------------------
>
> openchangepfadmin --rmright \
> --folder=test_me \
> --username=linux
>
> Permission removed for linux on folder test_me
>
>
> Regards,
>
> Julien.
>
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel
--
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
