On Wed, 2007-08-29 at 07:08 +0930, Dan Shearer wrote:
> On Tue, Aug 28, 2007 at 11:33:24PM +0200, jkerihuel wrote:
> > Author: jkerihuel
> > Date: Tue, 28 Aug 2007 23:33:24 +0200
> > New Revision: 244
> > 
> > Modified:
> >    trunk/utils/openchangepfadmin.c
> >    trunk/utils/openchangepfadmin.h
> > Log:
> > Prevent users from creation of *undeletable* folders in Outlook and
> > perform sanity check on dirclass + display possible values. 
> 
> If you call this a bug then we need to make a note to remember to refuse
> to do this in OC Server. And it should be a torture test item too.
> 
> I think it an interesting point as to what kind of a bug this is. Is it
> a bad thing to tell Exchange administrators that, under the principle of
> Security By Total Accident, they can now have a kind of immutable flag
> on folders?

Here a sample scenario:

$ openchangepfadmin --mkdir --folder=public_events \
                    --dirclass=IPM.Appointment
$ openchangeclient  --sendmail --subject="test the bug"   \
                    --body="Would this bug be a feature?" \
--to="jkerihuel" --pf --folder=public_events
    sendmail                 : MAPI_E_SUCCESS (0x0)
$ openchangeclient --fetchmail --pf --folder=public_events
MAILBOX (1 messages)
+-------------------------------------+
message id:
<[EMAIL PROTECTED]>
subject: test the bug
From: 
To:  Julien
Cc:  
Bcc: 
Attachment: False
Codepage: CP_USASCII
Body:
Would this bug be a feature?
    fetchmail                : MAPI_E_SUCCESS (0x0)


In Outlook, it will display in the reading pane: "Unable to display the
folder. An OLE registration error occurred. The program is not correctly
installed. Run setup again for the program"

If you try to get properties from the folder (right-click), the same
message is printed in a popup.

If I create a folder with a slightly buggy dirclass such as IPF.Bug or
IPM.Buggy, then the folder will automatically turn IPM.Post.

Conclusion: Until particular circonstances we'd need to focus on, we can
create folders browsable and usable/deletable with libmapi but useless
within Outlook [1]. Would you say it is a bug or a feature? ;)  

[1] Only performed basic tests. It would be interesting to ask
experienced Exchange admins/googling forums if they have already
encountered such issue.

-- 
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to