Fix OOF file backend when no SIEVE scripts are there
Merge pull request #97 from sixstone-qq/ejhernandez/fix-oof-file-backend-no-sieve

Fix OOF file backend when no SIEVE scripts are there
Add a script to wipe *every* openchangedb entries for a given user.
Helpful when you want to start over with the same user and have a clean
and fresh mailbox
Add free/busy permissions

* FreeBusySimple
* FreeBusyDetailed

See [OXCPERM] for details.
Merge pull request #98 from sixstone-qq/ejhernandez/add-freebusy-perms

Add free/busy permissions
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>
oxcmsg: Resolve x500dn back to sAMAccountName due to SOGo limitations atm

Despite comments, SOGo expects message_recipient->username to be
the sAMAccountName for the recipient.
Thus resolving parital x500dn to a full one brakes the backend.
Utill this is fixed, this patch is a reasonable fix for that limiatation
Merge pull request #99 from openchange/kamenim/modify-recipients-partial-x500dn-impl

RopModifyRecipients partial x500dn implementation
emsmdbp/table_get_row_props: Check for OOM
emsmdbp/table_get_row_props: test retvals as mapistore_error value

rather than treating the value as boolean expression
oxcfxics: Prototype oxcfxics_fill_transfer_state_arrays() to return status code
oxcfxics: Check for errors in oxcfxics_fill_transfer_state_arrays() and handle accordingly
emsmdbp_object: Return MAPISTATUS and check for distinct error types
emsmdbp_object: emsmdbp_object_open_folder_by_fid() to return MAPISTATUS

And also handle different kinds of error properly in implementation.
enum mapistore_error is mapped to enum MAPISTATUS for instance
oxcfxics: Check for table_set_columns() errors in oxcfxics_push_messageChange_attachments
oxcfxics/SyncImportHierarchyChange: Fix MAPISTATUS error handling
oxcfxics/SyncImportMessageMove: Handle MAPISTATUS error and print out the error
provisioning: Print out more descriptive failure when LocalFree busy create fails
oxcstor/Logon_Mailbox: OPENCHANGE_RETVAL_IF() expect bool as a flag - fix that
oxcfxics: Fix memory context allocation check