mapistore: Bypass Embedded message creation for Tasks in Outlook

Right now SOGo back end doesn't support embedded messages in
a Task, which leads to a nasty runtime Obj-C exception.
This effectively kills openchange process, so it is better
we just return MAPI_E_NOT_IMPLEMENTED for such objects and continue
to work instead of breaking badly.

This is a temporary fix for: issues => 7345

Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Merge pull request #28 from Zentyal/kamenim/zs-32-bypass-oc-crash-for-embedded-messages

mapistore: Bypass Embedded message creation for Tasks in Outlook
emsmdb/oxcfxics: Don't abort when we get a 'not yet seen' idset

We should find what to do in such situation, but aborting here
doesn't look good for end users.

Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Merge pull request #33 from Zentyal/kamenim/zs-32-dont-abort-when-we-get-unrecognzed-idset

emsmdb/oxcfxics: Don't abort when we get a 'not yet seen' idset
Revert "mapistore: Bypass Embedded message creation for Tasks in Outlook"

This reverts commit a82625ee40bef7fc7fa663e56c0ff10553974e42.

Initial commit was totally wrong and it is the backend that
needs to handle 'not-implemented' conditions gracefully.
Merge pull request #34 from Zentyal/kamenim/revert-sogo-backend-bypass

Revert "mapistore: Bypass Embedded message creation for Tasks in Outlook
libmapi: Impelement copy for struct SPropValue for multivalue properties

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
libmapi: Remove abort for Multivalue properties in mapi_copy_spropvalues()

I used smb_abort() for now, but it is really OC_ABORT(false)
that we should use here

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Merge pull request #52 from Zentyal/kamenim/zs_32_mapi_copy_spropvalues

Impelement multivalue properties copy for mapi_copy_spropvalues()
Adding gbp-conf file to compile with pbuilder
oxcmsg: Implementation for partial UserDNs in ModifyRecipients call

When Outlook passes some value in RecipientRow.prefix_size, then
we should restore the full legacyExchangeDN in recipient_x500name
using szDNPrefix we supplied to Outlook during Connect op.

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
oxcfxics: Fail RopSyncImportHierarchyChange if we can't open perent folder
for SyncContext

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Create commandline tool to list Mapistore contexts in JSON

I used this into Python script to enum somehow all folders
Mapistore backend knows about. This is due to the fact that
currently Python bindings are not working (and quite outdated)

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
exchange_emsmdb/dcesrv_EcDoRpcExt2: Fix use-after free in

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Rename mapistore_check tool to mapistore_tool

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
Adapt mapistore_tool for 3.2 release