On Thu, 2009-03-05 at 12:09 +0100, 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?

Hi Paolo,

I've fixed the bug in r1275.

The problem came from the IDL being wrong for this function. I honestly
don't know how we could miss it until now ... I've updated the IDL and
implementation and mapitest now works properly for GetNamesFromIDs.

Thanks again for your really helpful feedbacks.

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