On Sun, 2009-04-05 at 13:27 +0100, Carl Farrington wrote:
> I think I could do this for you. I have an Exchange 2007 SP1 box with
> my mailbox on it, and all the other mailboxes are on an Exchange 2003
> SP2 box. Only thing is I don't know what I'm doing with regards to
> setting up the profile.
> I should think the easiest test would be to create an openchange mapi
> profile for Administrator, whose mailbox is on Exchange 2003, but with
> the profile pointing at the Exchange 2007 box, and the same in reverse
> for Carl (whose mailbox is on 2007, but I'd create the profile
> pointing to the 2003 box).

> Any chance of a quick rundown of how to create the profile properly?

Hi Carl,

You should theoretically be able to setup the MAPI profile even on the
wrong server - as long as GC is replicated. It is up to Exchange to tell
the client its mailbox is located on another server. So the following
should be correct:

Case 1: You can create profiles on any server regardless where the mailbox is 
stored
====================================================================================
$ mapiprofile --newdb

$ mapiprofile --create -P Administrator --username=Administrator 
--password=<secret> -I <Exchange_2007_IP> -D <YOUR_WINDOWS_DOMAIN>
Profile Administrator completed and added to database 
${HOME}/.openchange/profiles.ldb

$ mapiprofile --create -P Carl --username=Carl --password=<secret> -I 
<Exchange_2003_IP> -D <YOUR_WINDOWS_DOMAIN>
Profile Carl completed and added to database ${HOME}/.openchange/profiles.ldb

$ mapiprofile --list
We have 2 profiles in the database:
        Profile = Administrator
        Profile = Carl


Case 2: You can only create profiles on the correct server
==========================================================
However if it doesn't work and Exchange refuses to create the profiles,
follow case 1 but use correct IP addresses - where mailboxes are
supposed to be, then run:

$ ldbedit ~/.openchange/profiles.ldb

Search for your profiles (it launches VIM), replace the IP addresses to
point at the other server, save and quit.

Finally, when the test configuration is OK, run wireshark and execute
the following commands:

$ openchangeclient --profile=Administrator --dump-data -d10
$ openchangeclient --profile=Carl --dump-data -d10

>  and then how to remove that profile and create another. It might be
> interesting to see if the 2003 box gives a different redirect response
> to the 2007 box.

Indeed, that would be really worthwhile.

Please let me know if you need further information.

Cheers,
Julien.

-- 
Julien Kerihuel
j.kerih...@openchange.org
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
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel

Reply via email to