On Tue, 2009-12-15 at 17:19 +0100, Julien Kerihuel wrote: > On Tue, 2009-12-15 at 16:14 +0100, Julien Kerihuel wrote: > > Exchange 2003 + encryption works fine with our pipe implementation. I'll > > see if similar behavior happens with 2k10. > > Well ... > > I was a bit too curious, so I ran home to test it and it works > properly ;-) > > I'll refactor the patch and probably a bit of the IMAPIProfile API to > handle encryption properly. > > This is not an invasive fix, so it will fit properly in 0.9 release.
Implemented in r1602. I have factorized the binding string creation code within a single function, added a seal boolean value in the profile structure, modified IProfAdmin to handle this value by default and finally changed mapiprofile code to support the new --encrypt option. Below are the results vs Exchange 2010 (without and with the --encrypt option). [0x1] Creating profile without encryption for Exchange 2010 =========================================================== $ mapiprofile --create -P 2010 --username=jkerihuel --password=secret -D OPENCHANGE2010 -I 192.168.0.121 Profile 2010 completed and added to database /home/test/.openchange/profiles.ldb $ mapiprofile -P 2010 -S Profile 2010 is now set the default one $ openchangeclient --mailbox $ mapiprofile --delete -P 2010 Profile 2010 deleted from database /home/test/.openchange/profiles.ldb Nothing happened, server returned ecNotEncrypt in EcDoConnect response ... [0x2] Creating profile with encryption for Exchange 2010 ======================================================== $ mapiprofile --create -P 2010 --username=jkerihuel --password=secret -D OPENCHANGE2010 -I 192.168.0.121 --encrypt Profile 2010 completed and added to database /home/test/.openchange/profiles.ldb $ mapiprofile -P 2010 -S Profile 2010 is now set the default one $ openchangeclient --mailbox + Mailbox - julien kerihuel |---+ Calendar : (Total: 0 / Unread: 0 - Container class: IPF.Appointment) [FID: 0x1d00000000000001] |---+ Contacts : (Total: 0 / Unread: 0 - Container class: IPF.Contact) [FID: 0x1e00000000000001] |---+ Conversation Action Settings : (Total: 0 / Unread: 0 - Container class: IPF.Configuration) [FID: 0x5100000000000001] |---+ Deleted Items : (Total: 0 / Unread: 0 - Container class: IPF.Note) [FID: 0x1700000000000001] |---+ Drafts : (Total: 0 / Unread: 0 - Container class: IPF.Note) [FID: 0x1f00000000000001] |---+ Inbox : (Total: 0 / Unread: 0 - Container class: IPF.Note) [FID: 0x1400000000000001] |---+ Journal : (Total: 0 / Unread: 0 - Container class: IPF.Journal) [FID: 0x2000000000000001] |---+ Junk E-Mail : (Total: 0 / Unread: 0 - Container class: IPF.Note) [FID: 0x4d00000000000001] |---+ Notes : (Total: 0 / Unread: 0 - Container class: IPF.StickyNote) [FID: 0x2100000000000001] |---+ Outbox : (Total: 1 / Unread: 1 - Container class: IPF.Note) [FID: 0x1500000000000001] |---+ Sent Items : (Total: 0 / Unread: 0 - Container class: IPF.Note) [FID: 0x1600000000000001] |---+ Tasks : (Total: 0 / Unread: 0 - Container class: IPF.Task) [FID: 0x2200000000000001] $ Worked ;-) -- 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
