On Tue, 2009-04-14 at 19:43 +1000, Brad Hards wrote:
> On Tuesday 14 April 2009 06:35:02 pm Berend De Schouwer wrote:
> > Hello all,
> Hi Berend,
> 
> > for me, currently openchangeclient fetches my mailbox, but not public
> > folders.
> >
> > ie. openchangeclient --database=.evolution/mapi-profiles.ldb --mailbox
> > works and ends with mailbox : MAPI_E_SUCCESS (0x0)
> >
> > openchangeclient --database=.evolution/mapi-profiles.ldb --mailbox --pf
> > fails with OpenPublicFolder : ecWrongServer (0x478)
> 
> This appears to be caused by Exchange 2007 in a clustered configuration (you 
> didn't describe your environment, so I'm guessing here).  This is not a 
> configuration we have available to test at the moment.
> 
> I know Julien has done some work on it, but I don't think it is fully solved 
> yet.
> 
> You can try a more recent svn update (to see if that helps), or otherwise I 
> can only suggest waiting until we get it fixed.

Indeed,

This problem is known, targeted and in the process being solved. However
it requires a bit of architecture changes in OpenChange MAPI/RPC stack.

Basically it means the PF store got moved from the initial server to
anorther server - the most common case being mailbox moved. The way to
fix this is anyway known:

        - Upon ecWrongServer being received, do NspiGetProps/NspiDNToMid
        calls to retrieve LegacyDN we need
        
        - Call RFR 0x1 (RfrGetFQDNFromLegacyDn) to retrieve the new
        binding string and use it for further calls for this store.

We can partially solve this issue quickly but changing lively the
binding string - similarly to what we do for NSPI server location using
RfrGetNewDSA.

However, on long term we may want our MAPI profiles to be more pertinent
and store offline all these information so we don't go through this
process over and over each time a new connection is initiated.

I have preliminary proof of concept code doing the job properly, just
not good enough to be pushed on SVN yet. Will try to clean-up the code
this week-end and reply to this thread when it is committed.

Cheers,
Julien.

-- 
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