On Thursday 05 March 2009 10:09:16 pm Paolo Abeni wrote: > hello, > > I'm getting an error (MAPI_E_CALL_FAILED) while calling: > > uint16_t cnt=0; > MAPINAMEID* names=0; > GetNamesFromIDs(handle, 0x81450003, &cnt, &names); > > 'handle' is pointer to a mapi_object_t (an exchange message) and > should be "valid" since I pefomed other operation successfully on it. > Tracing the error I found that emsmdb_transaction() in > GetNamesFromIDs() return an error code (0xc0000023: > NT_STATUS_BUFFER_TOO_SMALL). > > The server I'm experimenting with is a MS exchange server 2003, and > I'm using the current libmapi svn snapshot (r 1273) build against > samba4-alpha7. > > I'm I doing something wrong? I don't think so. Its a bug in openchange or the server.
mapitest --mapi-calls=OXCPRPT-NAME-ID currently fails on Exchange 2003, and also on my SBS2003 (which is basically the same). You can see it on the buildbot (http://buildbot.openchange.org/waterfall) as one of the two or three failing tests (you'll see it returns ecMemory, which is the same issue). I have no idea what the problem is. I've double checked the IDL and code, and they look OK to me. The next stage is to ask Microsoft, but I'm trialing another failing test to make sure I have the process sorted. Another approach would be to write a test on windows that calls whatever the MAPI function equivalent is, and get a packet capture and compare the results. I'm not that serious yet though... Brad _______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
