On Mon, Aug 27, 2007 at 07:40:38PM +0200, Julien Kerihuel wrote:

> I've pushed a preliminary version of the mapiadmin library and
> openchangepfadmin (Public Folders management).

I've been having a closer look at this. Very nice work, Julien.

I think currently the logical separation between libmapi and
libmapiadmin is this:

  * libmapi exposes Exchange to users 
  * libmapiadmin exposes an Exchange view of AD to administrators

Do I guess correctly that you wouldn't expect implementers to provide
both libraries to all end users, because end users should not need
libmapiadmin?

I propose we need another function very similar to those in
mapiadmin_user.c :

  mapiadmin_user_info(struct mapiadmin_ctx *);

There is one case where unprivileged users need access to this function,
which is automatic profile generation. Users can provide valid AD
credentials, and mapiadmin_user_info can find the Exchange mailbox
location.

One use for this would be:

   mapiprofile --autoprofile --aduser bla --adpassword bla --default

which would create the profile and make it default.

The are two reasons to implement this:

 1. Users never need to know where their mailbox is kept, and in the 
    real world usually don't, and

 2. Outlook 2007 does this when a user logs in for the first time.

So, imagine this feature is added, what does this say about the design
split between libmapi and libmapiadmin?

-- 
Dan Shearer
[EMAIL PROTECTED]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to