dcesrv_mapiproxy.c File Reference

mapiproxy main file More...

#include "mapiproxy/dcesrv_mapiproxy.h"
#include "mapiproxy/dcesrv_mapiproxy_proto.h"
#include "utils/dlinklist.h"
#include "libmapi/libmapi.h"
#include "libmapi/libmapi_private.h"
#include "gen_ndr/ndr_exchange_s.c"

Macros

#define DEFAULT_INTERFACES   "exchange_emsmdb, exchange_nsp, exchange_ds_rfr"
 

Functions

NTSTATUS dcerpc_server_mapiproxy_init (void)
 
static bool dcesrv_mapiproxy_lp_defaults (struct loadparm_context *lp_ctx)
 
static bool mapiproxy_fill_interface (struct dcesrv_interface *iface, const struct ndr_interface_table *tbl)
 
static NTSTATUS mapiproxy_op_bind (struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface, uint32_t if_version)
 
static NTSTATUS mapiproxy_op_bind_proxy (struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface, uint32_t if_version)
 
static NTSTATUS mapiproxy_op_connect (struct dcesrv_call_state *dce_call, const struct ndr_interface_table *table, const char *binding)
 
static NTSTATUS mapiproxy_op_dispatch (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
 
static NTSTATUS mapiproxy_op_init_server (struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
 
static bool mapiproxy_op_interface_by_name (struct dcesrv_interface *iface, const char *name)
 
static bool mapiproxy_op_interface_by_uuid (struct dcesrv_interface *iface, const struct GUID *uuid, uint32_t if_version)
 
static NTSTATUS mapiproxy_op_ndr_pull (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r)
 
static NTSTATUS mapiproxy_op_ndr_push (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r)
 
static NTSTATUS mapiproxy_op_reply (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
 
static void mapiproxy_op_unbind (struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
 
static NTSTATUS mapiproxy_register_one_iface (struct dcesrv_context *dce_ctx, const struct dcesrv_interface *iface)
 
NTSTATUS samba_init_module (void)
 

Variables

static int dispatch_nbr = 0
 

Detailed Description

mapiproxy main file

Macro Definition Documentation

◆ DEFAULT_INTERFACES

#define DEFAULT_INTERFACES   "exchange_emsmdb, exchange_nsp, exchange_ds_rfr"

Function Documentation

◆ dcerpc_server_mapiproxy_init()

NTSTATUS dcerpc_server_mapiproxy_init ( void  )

register the mapiproxy endpoint server.

Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

References mapiproxy_op_init_server(), mapiproxy_op_interface_by_name(), mapiproxy_op_interface_by_uuid(), and ndr_table_init().

Referenced by samba_init_module().

◆ dcesrv_mapiproxy_lp_defaults()

static bool dcesrv_mapiproxy_lp_defaults ( struct loadparm_context *  lp_ctx)
static

override defaults in loadparm to enable mapiproxy by default.

Returns
true on success, otherwise false

Referenced by samba_init_module().

◆ mapiproxy_fill_interface()

static bool mapiproxy_fill_interface ( struct dcesrv_interface *  iface,
const struct ndr_interface_table *  tbl 
)
static

◆ mapiproxy_op_bind()

static NTSTATUS mapiproxy_op_bind ( struct dcesrv_call_state *  dce_call,
const struct dcesrv_interface *  iface,
uint32_t  if_version 
)
static

This function is called when the client binds to one of the interfaces mapiproxy handles.

Parameters
dce_callpointer to the session context
ifacepointer to the dcesrv interface structure with function hooks
if_versionthe version of the pipe
Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

References mapiproxy_op_bind_proxy(), dcesrv_mapiproxy_private::ndrdump, and dcesrv_mapiproxy_private::server_mode.

Referenced by mapiproxy_fill_interface().

◆ mapiproxy_op_bind_proxy()

static NTSTATUS mapiproxy_op_bind_proxy ( struct dcesrv_call_state *  dce_call,
const struct dcesrv_interface *  iface,
uint32_t  if_version 
)
static

◆ mapiproxy_op_connect()

static NTSTATUS mapiproxy_op_connect ( struct dcesrv_call_state *  dce_call,
const struct ndr_interface_table *  table,
const char *  binding 
)
static

◆ mapiproxy_op_dispatch()

static NTSTATUS mapiproxy_op_dispatch ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
void *  r 
)
static

This function is called after the pull but before the push. Moreover it is called before the request is forward to the remote endpoint.

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
rgeneric pointer to the call mapped data
Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

References mapiproxy::ahead, dispatch_nbr, mapiproxy_module_dispatch(), mapiproxy_NspiDNToMId(), mapiproxy_server_dispatch(), mapiproxy_server_loaded(), and mapiproxy::norelay.

Referenced by mapiproxy_fill_interface().

◆ mapiproxy_op_init_server()

static NTSTATUS mapiproxy_op_init_server ( struct dcesrv_context *  dce_ctx,
const struct dcesrv_endpoint_server *  ep_server 
)
static

Initializes the server and register emsmdb,nspi and rfr interfaces

Parameters
dce_ctxpointer to the dcesrv context
ep_serverpointer to the endpoint server list
Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

References DEFAULT_INTERFACES, mapiproxy_module_init(), mapiproxy_register_one_iface(), and mapiproxy_server_init().

Referenced by dcerpc_server_mapiproxy_init().

◆ mapiproxy_op_interface_by_name()

static bool mapiproxy_op_interface_by_name ( struct dcesrv_interface *  iface,
const char *  name 
)
static

◆ mapiproxy_op_interface_by_uuid()

static bool mapiproxy_op_interface_by_uuid ( struct dcesrv_interface *  iface,
const struct GUID *  uuid,
uint32_t  if_version 
)
static

◆ mapiproxy_op_ndr_pull()

static NTSTATUS mapiproxy_op_ndr_pull ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
struct ndr_pull *  pull,
void **  r 
)
static

This is the function called when mapiproxy receives a request. The request has already been extracted and its information filled into structures

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
pullpointer on pointer to the ndr_pull structure
rgeneric pointer on pointer to the pulled ndr content
Returns
NT_STATUS_OK on success, other NTSTATUS error

References mapiproxy_module_ndr_pull(), mapiproxy_module_pull(), and mapiproxy_op_connect().

Referenced by mapiproxy_fill_interface().

◆ mapiproxy_op_ndr_push()

static NTSTATUS mapiproxy_op_ndr_push ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
struct ndr_push *  push,
const void *  r 
)
static

This is the function called when mapiproxy receive a response. The response has already been extracted and its information filled into structures

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
pushpointer to the ndr_push structure
rgeneric pointer to the data pushed
Returns
NT_STATUS_OK on success, otherwise a NTSTATUS error

References mapiproxy_module_push(), mapiproxy_NspiGetProps(), mapiproxy_NspiQueryRows(), mapiproxy_RfrGetNewDSA(), and mapiproxy_server_loaded().

Referenced by mapiproxy_fill_interface().

◆ mapiproxy_op_reply()

static NTSTATUS mapiproxy_op_reply ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
void *  r 
)
static

◆ mapiproxy_op_unbind()

static void mapiproxy_op_unbind ( struct dcesrv_connection_context *  context,
const struct dcesrv_interface *  iface 
)
static

Called when the client disconnects from one of the endpoints managed by mapiproxy.

Parameters
contextpointer to the connection context
ifacepointer to the dcesrv interface structure with function hooks

References mapiproxy_module_unbind(), and mapiproxy_server_unbind().

Referenced by mapiproxy_fill_interface().

◆ mapiproxy_register_one_iface()

static NTSTATUS mapiproxy_register_one_iface ( struct dcesrv_context *  dce_ctx,
const struct dcesrv_interface *  iface 
)
static

Register an endpoint

Parameters
dce_ctxpointer to the dcerpc context
ifacepointer to the dcesrv interface with function hooks
Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

Referenced by mapiproxy_op_init_server().

◆ samba_init_module()

NTSTATUS samba_init_module ( void  )

Register mapiproxy dynamic shared object modules

This function registers mapiproxy modules located

Entry point of mapiproxy dynamic shared object.

This function first registers exchange endpoints and ndr tables, then attempts to register the mapiproxy interface.

Returns
NT_STATUS_OK on success, otherwise NT_STATUS_UNSUCCESSFUL;

Entry point for the pack mapiproxy module

Returns
NT_STATUS_OK on success, otherwise NTSTATUS error

Variable Documentation

◆ dispatch_nbr

int dispatch_nbr = 0
static

Referenced by mapiproxy_op_dispatch().

void * openchange_db_ctx
Definition: dcesrv_exchange_emsmdb.c:36
_PUBLIC_ enum MAPISTATUS openchangedb_lookup_folder_property(struct openchangedb_context *oc_ctx, uint32_t proptag, uint64_t fid)
FIXME Not used anywhere.
Definition: openchangedb.c:491
static int oxcfxics_fmid_from_source_key(struct emsmdbp_context *emsmdbp_ctx, const char *owner, struct SBinary_short *source_key, uint64_t *fmidp)
Definition: oxcfxics.c:355
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetStoreState(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:1020
static bool convertIdToFMID(const struct GUID *replica_guid, uint8_t *data, uint32_t size, uint64_t *fmidP)
Definition: oxcfxics.c:2870
uint16_t libmapiserver_RopOpenEmbeddedMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:297
_PUBLIC_ uint16_t libmapiserver_RopGetLocalReplicaIds_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:217
const struct mapiproxy_module * mapiproxy_server_byname(const char *name)
Definition: dcesrv_mapiproxy_server.c:269
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCreateAttach(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1403
NTTIME last_password_change
Definition: libmapiproxy.h:104
_PUBLIC_ enum mapistore_error emsmdbp_folder_delete(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_folder, uint64_t fid, uint8_t flags)
Definition: emsmdbp_object.c:1523
enum MAPISTATUS EcDoRpc_RopReadStream(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:689
emsmdbp_object_type
Definition: dcesrv_exchange_emsmdb.h:108
bool emsmdbp_is_mapistore(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:78
int emsmdbp_get_uri_from_fid(TALLOC_CTX *, struct emsmdbp_context *, uint64_t, char **)
Definition: emsmdbp_object.c:506
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeleteProperties(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:479
uint16_t libmapiserver_RopReadStream_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:207
#define __END_DECLS
Definition: mpm_cache.h:36
Definition: mpm_cache.h:82
const char ** emsmdbp_get_folders_names(TALLOC_CTX *, struct emsmdbp_context *)
Definition: emsmdbp_provisioning_names.c:49
enum MAPISTATUS openchangedb_lookup_folder_property(struct openchangedb_context *, uint32_t, uint64_t)
FIXME Not used anywhere.
Definition: openchangedb.c:491
static struct server_module * server_modules
const char * emsabp_property_get_ref_attr(uint32_t)
Definition: emsabp_property.c:179
_PUBLIC_ enum MAPISTATUS openchangedb_create_mailbox(struct openchangedb_context *oc_ctx, const char *username, const char *organization_name, const char *group_name, uint64_t fid, const char *display_name)
Definition: openchangedb.c:871
_PUBLIC_ enum mapistore_error emsmdbp_folder_move_folder(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *move_folder, struct emsmdbp_object *target_folder, TALLOC_CTX *mem_ctx, const char *new_name)
Definition: emsmdbp_object.c:1409
enum MAPISTATUS dcesrv_NspiGetNamesFromIDs(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetNamesFromIDs *)
Definition: dcesrv_mapiproxy_unused.c:615
enum MAPISTATUS EcDoRpc_RopSeekStream(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:982
void dcesrv_ec_store_admin1_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ec_store_admin1_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:86
struct emsmdbp_stream stream
Definition: dcesrv_exchange_emsmdb.h:159
static int emsmdbp_object_destructor(void *data)
Definition: emsmdbp_object.c:716
void dcesrv_ds_add_entry(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_add_entry *r)
Definition: dcesrv_mapiproxy_unused.c:182
enum MAPISTATUS EcDoRpc_RopSyncImportMessageChange(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2142
enum MAPISTATUS EcDoRpc_RopCopyFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:1140
NTSTATUS(* unbind)(struct server_id, uint32_t)
Definition: libmapiproxy.h:60
bool emsmdbp_destructor(void *)
Definition: emsmdbp.c:232
const struct GUID *const MagicGUIDp
Definition: emsmdbp.c:50
int num_server_modules
Definition: dcesrv_mapiproxy_server.c:37
_PUBLIC_ enum MAPISTATUS emsabp_table_fetch_attrs(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, struct PropertyRow_r *aRow, uint32_t dwFlags, struct PermanentEntryID *permEntryID, struct PermanentEntryID *parentPermEntryID, struct ldb_message *msg, bool child)
Definition: emsabp.c:805
_PUBLIC_ int emsmdbp_guid_to_replid(struct emsmdbp_context *emsmdbp_ctx, const char *username, const struct GUID *guidP, uint16_t *replidP)
Definition: emsmdbp.c:499
@ EMSMDBP_OBJECT_FOLDER
Definition: dcesrv_exchange_emsmdb.h:111
@ EMSMDBP_SPOOLER_QUEUE
Definition: dcesrv_exchange_emsmdb.h:248
static NTSTATUS downgrade_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_downgrade.c:81
enum MAPISTATUS entryid_set_AB_EntryID(TALLOC_CTX *mem_ctx, const char *legacyExchangeDN, struct SBinary_short *bin)
Definition: entryid.c:40
_PUBLIC_ enum MAPISTATUS mapi_handles_delete(struct mapi_handles_context *handles_ctx, uint32_t handle)
Definition: mapi_handles.c:453
static NTSTATUS mapiproxy_server_load(struct dcesrv_context *dce_ctx)
Definition: dcesrv_mapiproxy_server.c:169
uint32_t parent_handle
Definition: mpm_cache.h:51
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopFastTransferSourceCopyTo(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:430
uint16_t libmapiserver_PropertyName_size(struct MAPINAMEID *)
Definition: libmapiserver_oxcdata.c:166
_PUBLIC_ uint16_t libmapiserver_RopSyncConfigure_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:76
static int emsmdbp_object_get_properties_mapistore_root(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2814
_PUBLIC_ bool emsmdbp_verify_user(struct dcesrv_call_state *dce_call, struct emsmdbp_context *emsmdbp_ctx)
Definition: emsmdbp.c:256
_PUBLIC_ void * emsmdbp_openchangedb_init(struct loadparm_context *lp_ctx)
Definition: emsmdbp.c:223
uint16_t libmapiserver_RopLogon_size(struct EcDoRpc_MAPI_REQ *request, struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:39
enum MAPISTATUS dcesrv_NspiGetPropList(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetPropList *r)
Definition: dcesrv_mapiproxy_unused.c:525
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncImportReadStateChanges(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:3209
static enum MAPISTATUS RopEmptyFolder_GenericFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EmptyFolder_req request, struct EmptyFolder_repl *response, struct mapi_handles *folder)
Definition: oxcfold.c:776
int emsmdbp_guid_to_replid(struct emsmdbp_context *, const char *username, const struct GUID *, uint16_t *)
Definition: emsmdbp.c:499
void dcesrv_ds_unbind(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_unbind *)
Definition: dcesrv_mapiproxy_unused.c:282
#define __BEGIN_DECLS
Definition: libmapiserver.h:44
static NTSTATUS dcesrv_exchange_nsp_init(struct dcesrv_context *dce_ctx)
Definition: dcesrv_exchange_nsp.c:1557
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_table_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:1747
#define SIZE_DFLT_ROPSEEKROW
Definition: libmapiserver.h:203
enum MAPISTATUS EcDoRpc_RopDeleteProperties(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:479
void dcesrv_ds_search(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_search *r)
Definition: dcesrv_mapiproxy_unused.c:272
bool normal
Definition: dcesrv_exchange_emsmdb.h:94
struct emsmdbp_stream state_stream
Definition: dcesrv_exchange_emsmdb.h:197
enum MAPISTATUS openchangedb_transaction_start(struct openchangedb_context *)
Definition: openchangedb.c:966
NTSTATUS dcerpc_server_exchange_store_admin3_init(void)
struct emsmdbp_context * emsmdbp_init(struct loadparm_context *, const char *, void *)
Definition: emsmdbp.c:134
NTSTATUS mapiproxy_module_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: dcesrv_mapiproxy_module.c:41
struct mapi_handles * prev
Definition: libmapiproxy.h:121
uint16_t libmapiserver_RopSyncImportMessageChange_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:89
bool ahead
Definition: mpm_cache.h:88
static struct ldb_context * samdb_ctx
Definition: emsmdbp.c:41
uint32_t emsabp_property_get_ulPropTag(const char *)
Definition: emsabp_property.c:126
@ EMSMDBP_TODO
Definition: dcesrv_exchange_emsmdb.h:257
static void oxcmsg_fill_OpenRecipientRow(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct OpenRecipientRow *row, struct SPropTagArray *properties, struct mapistore_message_recipient *recipient)
Definition: oxcmsg.c:137
_PUBLIC_ enum MAPISTATUS mapi_handles_set_private_data(struct mapi_handles *handle, void *private_data)
Definition: mapi_handles.c:386
enum MAPISTATUS dcesrv_NspiBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiBind *r)
Definition: dcesrv_mapiproxy_unused.c:445
static void oxomsg_mapistore_handle_message_relocation(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *old_message_object)
Definition: oxomsg.c:31
enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamContinue(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2630
bool ahead
Definition: mpm_cache.h:72
const char * nil_string
Definition: openchangedb.c:41
NTSTATUS(* init)(struct dcesrv_context *)
Definition: libmapiproxy.h:55
struct loadparm_context * lp_ctx
Definition: dcesrv_exchange_emsmdb.h:53
uint16_t libmapiserver_RopGetRulesTable_size(void)
Definition: libmapiserver_oxorule.c:35
const char ** emsmdbp_get_special_folders(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
Definition: emsmdbp_provisioning_names.c:84
void dcesrv_sysatt_cluster_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct sysatt_cluster_dummy *)
Definition: dcesrv_mapiproxy_unused.c:123
static NTSTATUS mapiproxy_register_one_iface(struct dcesrv_context *dce_ctx, const struct dcesrv_interface *iface)
Definition: dcesrv_mapiproxy.c:576
bool emsabp_destructor(void *)
Definition: emsabp.c:133
static void dcesrv_NspiQueryRows(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiQueryRows *r)
Definition: dcesrv_exchange_nsp.c:569
_PUBLIC_ struct SRow * libmapiserver_ROP_request_to_properties(TALLOC_CTX *mem_ctx, void *request, uint8_t opnum)
Definition: libmapiserver_oxcprpt.c:558
NTSTATUS dcerpc_server_exchange_ds_rfr_init(void)
_PUBLIC_ enum MAPISTATUS openchangedb_get_fid(struct openchangedb_context *oc_ctx, const char *mapistoreURL, uint64_t *fidp)
Definition: openchangedb.c:343
enum MAPISTATUS dcesrv_NspiGetProps(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetProps *r)
Definition: dcesrv_mapiproxy_unused.c:535
DATA_BLOB buffer
Definition: dcesrv_exchange_emsmdb.h:73
uint16_t libmapiserver_RopSyncUploadStateStreamBegin_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:144
_PUBLIC_ uint16_t libmapiserver_RopCopyTo_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:163
NTSTATUS mapiproxy_server_init(struct dcesrv_context *)
Definition: dcesrv_mapiproxy_server.c:232
static NTSTATUS downgrade_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull)
Definition: mpm_downgrade.c:75
enum MAPISTATUS openchangedb_get_folder_count(struct openchangedb_context *, const char *, uint64_t, uint32_t *)
Definition: openchangedb.c:468
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetAttachmentTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1223
_PUBLIC_ uint16_t libmapiserver_RopSyncImportHierarchyChange_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:110
struct idset * idset_given
Definition: dcesrv_exchange_emsmdb.h:187
uint16_t libmapiserver_RopGetPropertyIdsFromNames_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:346
enum MAPISTATUS emsabp_tdb_close(TDB_CONTEXT *)
Definition: emsabp_tdb.c:131
_PUBLIC_ uint16_t libmapiserver_RopDeletePropertiesNoReplicate_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:371
#define __BEGIN_DECLS
Definition: dcesrv_exchange_nsp.h:38
_PUBLIC_ uint16_t libmapiserver_RopCreateMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:77
Definition: dcesrv_exchange_emsmdb.h:130
#define SIZE_DFLT_ROPSAVECHANGESMESSAGE
Definition: libmapiserver.h:127
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesAll_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:66
_PUBLIC_ void emsabp_enable_debug(struct emsabp_context *emsabp_ctx)
Definition: emsabp.c:149
enum MAPISTATUS EcDoRpc_RopOpenFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:49
uint16_t libmapiserver_RopSeekStream_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:288
_PUBLIC_ uint16_t libmapiserver_RopSetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:68
_PUBLIC_ uint16_t libmapiserver_RopSeekRow_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:149
bool partial_item
Definition: dcesrv_exchange_emsmdb.h:92
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetSearchCriteria(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:699
TDB_CONTEXT * tdb_ctx
Definition: dcesrv_exchange_nsp.h:49
struct dcerpc_pipe * c_pipe
Definition: dcesrv_mapiproxy.h:47
void debug_print_backtrace(int dbg_level)
Definition: fault_util.c:43
void dcesrv_EcRGetDCName(struct dcesrv_call_state *, TALLOC_CTX *, struct EcRGetDCName *)
Definition: dcesrv_mapiproxy_unused.c:728
_PUBLIC_ enum MAPISTATUS openchangedb_get_new_changeNumber(struct openchangedb_context *oc_ctx, const char *username, uint64_t *cn)
Definition: openchangedb.c:579
uint16_t libmapiserver_RopCommitStream_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:254
static enum mapistore_error emsmdbp_object_folder_commit_creation(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *new_folder, bool force_container_class)
Definition: emsmdbp_object.c:239
void dcesrv_dra_replica_add(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_replica_add *r)
Definition: dcesrv_mapiproxy_unused.c:302
void dcesrv_dra_authorize_replica(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_authorize_replica *)
Definition: dcesrv_mapiproxy_unused.c:342
_PUBLIC_ uint16_t libmapiserver_RopSyncOpenCollector_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:204
static const struct locale_names folders_names[]
Definition: emsmdbp_provisioning_names.c:30
#define __END_DECLS
Definition: dcesrv_exchange_ds_rfr.h:33
char * szUserDN
Definition: dcesrv_exchange_emsmdb.h:125
bool connected
Definition: dcesrv_mapiproxy.h:50
struct SPropTagArray properties
Definition: dcesrv_exchange_emsmdb.h:192
enum MAPISTATUS EcDoRpc_RopCommitStream(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:846
uint16_t libmapiserver_RopGetTransportFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:115
_PUBLIC_ const char * openchangedb_property_get_attribute(uint32_t proptag)
Definition: openchangedb_property.c:597
_PUBLIC_ enum mapistore_error emsmdbp_object_open_folder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent, uint64_t fid, struct emsmdbp_object **folder_object_p)
Definition: emsmdbp_object.c:419
@ EXCHANGE_HANDLE_NSP
Definition: dcesrv_mapiproxy.h:56
enum MAPISTATUS dcesrv_EcDoConnectEx(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoConnectEx *r)
Definition: dcesrv_mapiproxy_unused.c:757
_PUBLIC_ uint16_t libmapiserver_RopSetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:179
enum MAPISTATUS dcesrv_EcDummyRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDummyRpc *r)
Definition: dcesrv_mapiproxy_unused.c:718
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCopyTo(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:1344
enum MAPISTATUS EcDoRpc_RopGetMessageStatus(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1144
void emsmdbp_fill_row_blob(TALLOC_CTX *, struct emsmdbp_context *, uint8_t *, DATA_BLOB *, struct SPropTagArray *, void **, enum MAPISTATUS *, bool *)
Definition: emsmdbp_object.c:3332
enum MAPISTATUS EcDoRpc_RopCreateMessage(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:315
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_synccontext_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_object)
Definition: emsmdbp_object.c:3475
enum MAPISTATUS EcDoRpc_RopFastTransferSourceCopyTo(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:430
void dcesrv_ds_add_entry(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_add_entry *)
Definition: dcesrv_mapiproxy_unused.c:182
enum MAPISTATUS dcesrv_NspiQueryColumns(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiQueryColumns *)
Definition: dcesrv_mapiproxy_unused.c:605
void emsabp_enable_debug(struct emsabp_context *)
Definition: emsabp.c:149
void dcesrv_unknown_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct unknown_dummy *)
Definition: dcesrv_mapiproxy_unused.c:806
enum MAPISTATUS EcDoRpc_RopCreateAttach(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1403
enum MAPISTATUS openchangedb_message_create(TALLOC_CTX *, struct openchangedb_context *, const char *, uint64_t, uint64_t, bool, void **)
Definition: openchangedb_message.c:53
char ** sync_cmd
Definition: mpm_cache.h:91
enum MAPISTATUS emsabp_fetch_attrs_from_msg(TALLOC_CTX *, struct emsabp_context *, struct PropertyRow_r *, struct ldb_message *, uint32_t, uint32_t, struct SPropTagArray *)
Definition: emsabp.c:657
static enum MAPISTATUS RopGetReceiveFolderTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles)
Definition: oxcstor.c:595
types h void dcesrv_ec_store_admin3_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ec_store_admin3_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:58
__BEGIN_DECLS NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
enum MAPISTATUS EcDoRpc_RopSetSearchCriteria(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:699
NTTIME last_logoff
Definition: libmapiproxy.h:102
#define MPM_PACK_ERROR
Definition: mpm_pack.c:33
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncImportMessageChange(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2142
#define SIZE_DFLT_ROPGETMESSAGESTATUS
Definition: libmapiserver.h:147
uint32_t handle
Definition: dcesrv_exchange_emsmdb.h:174
uint16_t libmapiserver_RopRegisterNotification_size(void)
Definition: libmapiserver_oxcnotif.c:36
struct idset * cnset_read
Definition: dcesrv_exchange_emsmdb.h:190
enum MAPISTATUS EcDoRpc_RopQueryPosition(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:576
static void dcesrv_NspiGetSpecialTable(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetSpecialTable *r)
Definition: dcesrv_exchange_nsp.c:1052
static bool unpack(TALLOC_CTX *mem_ctx, struct EcDoRpc *EcDoRpc)
Definition: mpm_pack.c:70
@ EMSMDBP_OBJECT_ATTACHMENT
Definition: dcesrv_exchange_emsmdb.h:115
static void dcesrv_NspiUpdateStat(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiUpdateStat *r)
Definition: dcesrv_exchange_nsp.c:360
bool(* destructor)(void *)
Definition: libmapiproxy.h:75
void dcesrv_ds_remove_entry(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_remove_entry *r)
Definition: dcesrv_mapiproxy_unused.c:262
char * owner_EssDN
Definition: dcesrv_exchange_emsmdb.h:124
static const struct emsabp_property emsabp_property[]
Definition: emsabp_property.c:38
bool contents_mode
Definition: dcesrv_exchange_emsmdb.h:78
uint16_t libmapiserver_RopGetReceiveFolderTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:232
NTSTATUS mpm_cache_ldb_createdb(struct dcesrv_context *, const char *, struct ldb_context **)
Definition: mpm_cache_ldb.c:44
enum MAPISTATUS EcDoRpc_RopTransportSend(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:377
enum MAPISTATUS dcesrv_NspiCompareMIds(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiCompareMIds *)
Definition: dcesrv_mapiproxy_unused.c:545
static NTSTATUS cache_unbind(struct server_id server_id, uint32_t context_id)
Definition: mpm_cache.c:1075
struct mpm_session * session
Definition: dcesrv_exchange_emsmdb.h:65
struct exchange_emsmdb_session * emsmdb_session
Definition: dcesrv_exchange_emsmdb.c:35
uint16_t libmapiserver_RopCreateAttach_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:265
NTSTATUS ndr_table_init(void)
struct emsmdbp_object_folder * folder
Definition: dcesrv_exchange_emsmdb.h:222
const char * logon_server
Definition: libmapiproxy.h:99
#define __BEGIN_DECLS
Definition: mpm_cache.h:35
enum MAPITAGS PropertyTag
Definition: mpm_cache.h:66
enum MAPISTATUS openchangedb_message_get_property(TALLOC_CTX *, struct openchangedb_context *, void *, uint32_t, void **)
Definition: openchangedb_message.c:126
void dcesrv_exchange_store_information_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct exchange_store_information_dummy *)
Definition: dcesrv_mapiproxy_unused.c:431
_PUBLIC_ uint16_t libmapiserver_RecipientRow_size(struct RecipientRow recipientrow)
Definition: libmapiserver_oxcdata.c:76
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesSpecific_size(struct EcDoRpc_MAPI_REQ *request, struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:43
bool emsabp_verify_lcid(struct emsabp_context *, uint32_t)
@ EMSMDBP_MAILBOX_ROOT
Definition: dcesrv_exchange_emsmdb.h:246
enum MAPISTATUS openchangedb_table_set_restrictions(struct openchangedb_context *, void *, struct mapi_SRestriction *)
Definition: openchangedb_table.c:83
struct mpm_session * mpm_session_new(TALLOC_CTX *, struct server_id, uint32_t)
Definition: dcesrv_mapiproxy_session.c:43
uint32_t parent_handle
Definition: libmapiproxy.h:119
enum MAPISTATUS EcDoRpc_RopGetReceiveFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:552
enum MAPISTATUS emsabp_tdb_insert(TDB_CONTEXT *, const char *)
Definition: emsabp_tdb.c:337
uint16_t total_steps
Definition: dcesrv_exchange_emsmdb.h:213
#define SIZE_DFLT_ROPFASTTRANSFERSOURCEGETBUFFER
Definition: libmapiserver.h:453
#define SIZE_DFLT_ROPOPENSTREAM
Definition: libmapiserver.h:223
_PUBLIC_ uint16_t libmapiserver_RopDeleteFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:136
static NTSTATUS pack_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_pack.c:231
#define SIZE_DFLT_ROPOPENEMBEDDEDMESSAGE
Definition: libmapiserver.h:164
static enum MAPISTATUS oxcfxics_check_cnset(struct openchangedb_context *oc_ctx, const char *username, struct idset *parsed_idset, const char *label)
Definition: oxcfxics.c:2702
struct dom_sid ** domain_groups
Definition: libmapiproxy.h:86
static struct exchange_nsp_session * dcesrv_find_nsp_session(struct GUID *uuid)
Definition: dcesrv_exchange_nsp.c:35
_PUBLIC_ bool emsabp_tdb_lookup_MId(TDB_CONTEXT *tdb_ctx, uint32_t MId)
Definition: emsabp_tdb.c:256
_PUBLIC_ enum MAPISTATUS openchangedb_get_next_changeNumber(struct openchangedb_context *oc_ctx, const char *username, uint64_t *cn)
Definition: openchangedb.c:623
#define EMSMDB_PCMSPOLLMAX
Definition: dcesrv_exchange_emsmdb.h:241
_PUBLIC_ void debug_print_backtrace(int dbg_level)
Definition: fault_util.c:43
NTSTATUS mpm_cache_ldb_add_stream(struct mpm_cache *, struct ldb_context *, struct mpm_stream *)
Definition: mpm_cache_ldb.c:241
_PUBLIC_ uint16_t libmapiserver_RopResetTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:195
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopRegisterNotification(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcnotif.c:51
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopReloadCachedInformation(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:940
NTTIME force_password_change
Definition: libmapiproxy.h:106
#define MPM_ERROR
Definition: mpm_cache.h:116
_PUBLIC_ enum MAPISTATUS emsabp_tdb_insert(TDB_CONTEXT *tdb_ctx, const char *keyname)
Definition: emsabp_tdb.c:337
struct mpm_session * session
Definition: mpm_cache.h:50
uint16_t libmapiserver_RopGetContentsTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:83
_PUBLIC_ uint16_t libmapiserver_RopWriteStream_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:233
static const uint32_t message_preload_interval
Definition: oxcfxics.c:37
enum MAPITAGS property
Definition: dcesrv_exchange_emsmdb.h:158
PermanentEntryID structure.
Definition: dcesrv_exchange_nsp.h:69
static void oxcfxics_ndr_push_simple_data(struct ndr_push *ndr, uint16_t prop_type, const void *value)
Definition: oxcfxics.c:154
struct mapiproxy_module_list * next
Definition: libmapiproxy.h:67
uint16_t libmapiserver_RopGetHierarchyTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:61
int emsmdbp_object_table_get_available_properties(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, struct SPropTagArray **)
Definition: emsmdbp_object.c:1781
char * szDisplayName
Definition: dcesrv_exchange_emsmdb.h:49
static openchange_plugin_init_fn load_plugin(const char *path)
Definition: modules.c:29
_PUBLIC_ enum MAPISTATUS emsmdbp_object_create_folder(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_folder, TALLOC_CTX *mem_ctx, uint64_t fid, struct SRow *rowp, bool force_container_class, struct emsmdbp_object **new_folderp)
Definition: emsmdbp_object.c:355
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCreateFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:348
enum MAPISTATUS entryid_set_AB_EntryID(TALLOC_CTX *, const char *, struct SBinary_short *)
Definition: entryid.c:40
static const uint8_t GUID_NSPI[]
Represents the NSPI Protocol in Permanent Entry IDs.
Definition: libmapiproxy.h:146
NTSTATUS dcerpc_server_exchange_emsmdb_init(void)
enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamEnd(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2742
static NTSTATUS dummy_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *ndr)
Definition: mpm_dummy.c:55
_PUBLIC_ struct emsmdbp_stream_data * emsmdbp_stream_data_from_value(TALLOC_CTX *mem_ctx, enum MAPITAGS prop_tag, void *value, bool read_write)
Definition: emsmdbp_object.c:3371
Definition: dcesrv_exchange_emsmdb.h:162
static bool downgrade_EcDoConnect(struct dcesrv_call_state *dce_call, struct EcDoConnect *r)
Definition: mpm_downgrade.c:44
types h _PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesSpecific(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:53
enum MAPISTATUS dcesrv_NspiUnbind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiUnbind *r)
Definition: dcesrv_mapiproxy_unused.c:455
void dcesrv_ds_receive_result(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_receive_result *)
Definition: dcesrv_mapiproxy_unused.c:252
_PUBLIC_ int emsmdbp_object_stream_commit(struct emsmdbp_object *stream_object)
Definition: emsmdbp_object.c:660
enum MAPISTATUS EcDoRpc_RopMoveFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:1045
void * sync_data
Definition: dcesrv_exchange_emsmdb.h:201
enum MAPISTATUS EcDoRpc_RopSaveChangesMessage(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:534
bool progress
Definition: dcesrv_exchange_emsmdb.h:99
uint32_t emsmdbp_get_contextID(struct emsmdbp_object *)
Definition: emsmdbp_object.c:150
enum MAPISTATUS dcesrv_NspiModProps(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiModProps *)
Definition: dcesrv_mapiproxy_unused.c:555
enum MAPISTATUS EcDoRpc_RopQueryRows(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:365
#define SIZE_DFLT_ROPLOGON_PUBLICFOLDER
Definition: libmapiserver.h:419
enum MAPISTATUS emsmdbp_object_attach_sharing_metadata_XML_file(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *sharing_object)
Definition: emsmdbp_object.c:3929
#define EMSMDB_PCRETRYDELAY
Definition: dcesrv_exchange_emsmdb.h:243
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertyIdsFromNames(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:1134
static void oxcmsg_fill_RecipientRow_data(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct RecipientRow *row, struct SPropTagArray *properties, struct mapistore_message_recipient *recipient)
Definition: oxcmsg.c:107
_PUBLIC_ enum MAPISTATUS emsmdbp_object_attach_sharing_metadata_XML_file(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *sharing_object)
Definition: emsmdbp_object.c:3929
static NTSTATUS cache_exec_sync_cmd(struct mpm_stream *stream)
Definition: mpm_cache.c:138
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_attachment_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint64_t messageID, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:2578
bool is_collector
Definition: dcesrv_exchange_emsmdb.h:77
enum MAPISTATUS EcDoRpc_RopGetPerUserLongTermIds(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:883
enum MAPISTATUS EcDoRpc_RopGetHierarchyTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:133
struct emsmdbp_object * emsmdbp_object_synccontext_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:3475
uint32_t userLanguage
Definition: dcesrv_exchange_emsmdb.h:50
bool read_write
Definition: dcesrv_exchange_emsmdb.h:156
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetStreamSize(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:917
_PUBLIC_ int emsmdbp_replid_to_guid(struct emsmdbp_context *emsmdbp_ctx, const char *username, const uint16_t replid, struct GUID *guidP)
Definition: emsmdbp.c:523
uint16_t libmapiserver_RopSyncImportMessageMove_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:183
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopLongTermIdFromId(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:691
void dcesrv_exchange_mta_qadmin(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct exchange_mta_qadmin *r)
Definition: dcesrv_mapiproxy_unused.c:418
struct server_id server_id
Definition: libmapiproxy.h:72
uint8_t ID_type
Definition: dcesrv_exchange_nsp.h:70
#define __END_DECLS
Definition: fault_util.h:74
bool emsmdbp_verify_userdn(struct dcesrv_call_state *, struct emsmdbp_context *, const char *, struct ldb_message **)
Definition: emsmdbp.c:310
struct dom_sid * account_sid
Definition: libmapiproxy.h:82
enum MAPISTATUS dcesrv_EcDummyRpc(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDummyRpc *)
Definition: dcesrv_mapiproxy_unused.c:718
#define SIZE_DFLT_ROPGETPROPERTYIDSFROMNAMES
Definition: libmapiserver.h:299
bool mapistore_root
Definition: dcesrv_exchange_emsmdb.h:133
static void dcesrv_NspiUnbind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiUnbind *r)
Definition: dcesrv_exchange_nsp.c:201
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetStreamSize(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:1070
bool oxosfld_is_special_folder(struct emsmdbp_context *, uint64_t)
Definition: oxosfld.c:69
bool request_cn
Definition: dcesrv_exchange_emsmdb.h:102
enum MAPISTATUS openchangedb_get_PublicFolderID(struct openchangedb_context *, const char *, uint32_t, uint64_t *)
Definition: openchangedb.c:136
NTSTATUS dcerpc_server_mapiproxy_init(void)
Definition: dcesrv_mapiproxy.c:701
_PUBLIC_ uint16_t libmapiserver_RopSetProperties_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:111
uint16_t libmapiserver_RopRestrict_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:80
uint32_t handle
Definition: mpm_cache.h:65
uint16_t libmapiserver_RopMoveFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:257
@ EMSMDBP_PF_LOCALOAB
Definition: dcesrv_exchange_emsmdb.h:279
Definition: dcesrv_exchange_emsmdb.h:63
NTSTATUS mpm_cache_ldb_add_attachment(TALLOC_CTX *mem_ctx, struct ldb_context *ldb_ctx, struct mpm_attachment *attach)
Definition: mpm_cache_ldb.c:184
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetMessageStatus(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1144
static void dcesrv_NspiGetMatches(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetMatches *r)
Definition: dcesrv_exchange_nsp.c:758
bool no_deletions
Definition: dcesrv_exchange_emsmdb.h:85
enum MAPISTATUS EcDoRpc_RopOpenEmbeddedMessage(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1547
_PUBLIC_ int emsmdbp_object_table_get_available_properties(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *table_object, struct SPropTagArray **propertiesp)
Definition: emsmdbp_object.c:1781
enum MAPISTATUS openchangedb_get_MailboxReplica(struct openchangedb_context *, const char *, uint16_t *, struct GUID *)
Definition: openchangedb.c:201
_PUBLIC_ TDB_CONTEXT * emsabp_tdb_init(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx)
Definition: emsabp_tdb.c:47
enum MAPISTATUS EcDoRpc_RopSetMessageReadFlag(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1054
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopResetTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:1007
enum MAPISTATUS dcesrv_NspiGetNamesFromIDs(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetNamesFromIDs *r)
Definition: dcesrv_mapiproxy_unused.c:615
const char * account_name
Definition: dcesrv_exchange_nsp.h:44
enum MAPISTATUS dcesrv_RfrGetNewDSA(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetNewDSA *r)
Definition: dcesrv_mapiproxy_unused.c:100
enum MAPISTATUS dcesrv_NspiGetMatches(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetMatches *r)
Definition: dcesrv_mapiproxy_unused.c:495
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetRulesTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxorule.c:49
static NTSTATUS mapiproxy_op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r)
Definition: dcesrv_mapiproxy.c:306
const struct mapiproxy_module * mapiproxy_module_byname(const char *)
Definition: dcesrv_mapiproxy_module.c:227
static struct mpm_pack * mpm
uint32_t denominator
Definition: dcesrv_exchange_emsmdb.h:150
_PUBLIC_ bool emsmdbp_verify_userdn(struct dcesrv_call_state *dce_call, struct emsmdbp_context *emsmdbp_ctx, const char *legacyExchangeDN, struct ldb_message **msg)
Definition: emsmdbp.c:310
Definition: mpm_cache.h:40
Definition: dcesrv_exchange_emsmdb.h:71
Definition: dcesrv_exchange_nsp.h:54
_PUBLIC_ uint16_t libmapiserver_RopReadStream_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:207
enum MAPISTATUS dcesrv_EcDoDisconnect(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoDisconnect *)
Definition: dcesrv_mapiproxy_unused.c:668
static void dcesrv_do_NspiUpdateStat(struct NspiUpdateStat *r, struct PropertyTagArray_r *mids)
Definition: dcesrv_exchange_nsp.c:304
const char * logon_script
Definition: libmapiproxy.h:95
bool use_cpid
Definition: dcesrv_exchange_emsmdb.h:81
static NTSTATUS dummy_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_dummy.c:61
bool read_state
Definition: dcesrv_exchange_emsmdb.h:98
static void cache_dump_stream_stat(struct mpm_stream *stream)
Definition: mpm_cache.c:74
static NTSTATUS dcesrv_exchange_emsmdb_unbind(struct server_id server_id, uint32_t context_id)
Definition: dcesrv_exchange_emsmdb.c:1730
TDB_CONTEXT * emsabp_tdb_init_tmp(TALLOC_CTX *)
Definition: emsabp_tdb.c:96
uint16_t libmapiserver_RopSyncGetTransferState_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:251
const char * dbpath
Definition: mpm_cache.h:87
enum MAPISTATUS EcDoRpc_RopGetTransportFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:505
static enum MAPISTATUS dcesrv_EcRUnregisterPushNotification(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRUnregisterPushNotification *r)
Definition: dcesrv_exchange_emsmdb.c:1087
TDB_CONTEXT * emsabp_tdb_init(TALLOC_CTX *, struct loadparm_context *)
Definition: emsabp_tdb.c:47
enum MAPISTATUS EcDoRpc_RopGetNamesFromIDs(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:1239
bool no_soft_deletions
Definition: dcesrv_exchange_emsmdb.h:86
#define SIZE_DFLT_ROPQUERYPOSITION
Definition: libmapiserver.h:196
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetAddressTypes(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:292
__BEGIN_DECLS NTSTATUS mapiproxy_module_register(const void *)
Definition: dcesrv_mapiproxy_module.c:154
_PUBLIC_ enum MAPISTATUS openchangedb_get_fid_by_name(struct openchangedb_context *oc_ctx, const char *username, uint64_t parent_fid, const char *foldername, uint64_t *fid)
Definition: openchangedb.c:724
static enum MAPISTATUS dcesrv_RfrGetNewDSA(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetNewDSA *r)
Definition: dcesrv_exchange_ds_rfr.c:44
enum MAPISTATUS EcDoRpc_RopRemoveAllRecipients(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:624
static enum MAPISTATUS dcesrv_EcDummyRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDummyRpc *r)
Definition: dcesrv_exchange_emsmdb.c:1105
#define SIZE_DFLT_PROPERTYNAME
Definition: libmapiserver.h:443
void * emsabp_query(TALLOC_CTX *, struct emsabp_context *, struct ldb_message *, uint32_t, uint32_t, uint32_t)
Definition: emsabp.c:497
_PUBLIC_ enum MAPISTATUS emsabp_set_EphemeralEntryID(struct emsabp_context *emsabp_ctx, uint32_t DisplayType, uint32_t MId, struct EphemeralEntryID *ephEntryID)
Definition: emsabp.c:288
void dcesrv_ds_modify_entry(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_modify_entry *r)
Definition: dcesrv_mapiproxy_unused.c:222
uint64_t MessageId
Definition: mpm_cache.h:44
enum MAPISTATUS EcDoRpc_RopRestrict(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:261
struct dom_sid * primary_group_sid
Definition: libmapiproxy.h:83
enum mapistore_table_type ulType
Definition: dcesrv_exchange_emsmdb.h:144
_PUBLIC_ enum MAPISTATUS emsmdbp_get_org_dn(struct emsmdbp_context *emsmdbp_ctx, struct ldb_dn **basedn)
Definition: emsmdbp.c:637
static NTSTATUS dcesrv_exchange_nsp_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: dcesrv_exchange_nsp.c:1464
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_ftcontext_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:3532
enum MAPISTATUS emsabp_EphemeralEntryID_to_Binary_r(TALLOC_CTX *, struct EphemeralEntryID *, struct Binary_r *)
Definition: emsabp.c:331
struct loadparm_context * lp_ctx
Definition: dcesrv_exchange_nsp.h:46
struct ldb_context * samdb_ctx
Definition: dcesrv_exchange_nsp.h:47
NTSTATUS mpm_cache_stream_reset(struct mpm_stream *stream)
Definition: mpm_cache_stream.c:194
enum MAPISTATUS EcDoRpc_RopGetPropertiesAll(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:216
NTSTATUS mpm_cache_ldb_createdb(struct dcesrv_context *dce_ctx, const char *database, struct ldb_context **ldb_ctx)
Definition: mpm_cache_ldb.c:44
Definition: libmapiproxy.h:81
enum MAPISTATUS emsmdbp_resolve_recipient(TALLOC_CTX *, struct emsmdbp_context *, char *, struct mapi_SPropTagArray *, struct RecipientRow *)
Definition: emsmdbp.c:363
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopRestrict(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:261
_PUBLIC_ enum MAPISTATUS openchangedb_get_PublicFolderID(struct openchangedb_context *oc_ctx, const char *username, uint32_t SystemIdx, uint64_t *FolderId)
Definition: openchangedb.c:136
bool mpm_session_release(struct mpm_session *session)
Definition: dcesrv_mapiproxy_session.c:149
uint32_t pullTimeStamp
Definition: dcesrv_exchange_emsmdb.h:64
#define __BEGIN_DECLS
Definition: dcesrv_exchange_emsmdb.h:42
enum MAPISTATUS EcDoRpc_RopGetAddressTypes(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:292
enum MAPISTATUS openchangedb_get_ReceiveFolderTable(TALLOC_CTX *, struct openchangedb_context *, const char *, uint32_t *, struct ReceiveFolder **)
Definition: openchangedb.c:422
Definition: mpm_cache.h:49
uint16_t libmapiserver_RopQueryRows_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:102
NTSTATUS samba_init_module(void)
Definition: dcesrv_exchange_emsmdb.c:1759
uint16_t libmapiserver_RopReloadCachedInformation_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:153
bool mpm_session_cmp_sub(struct mpm_session *session, struct server_id sid, uint32_t context_id)
Definition: dcesrv_mapiproxy_session.c:178
void dcesrv_dra_set_status(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_set_status *r)
Definition: dcesrv_mapiproxy_unused.c:372
_PUBLIC_ uint16_t libmapiserver_RopRestrict_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:80
@ EMSMDBP_PF_OAB
Definition: dcesrv_exchange_emsmdb.h:276
enum MAPISTATUS openchangedb_create_mailbox(struct openchangedb_context *, const char *, const char *, const char *, uint64_t, const char *)
Definition: openchangedb.c:871
char * szUserDN
Definition: dcesrv_exchange_emsmdb.h:48
uint16_t sync_stage
Definition: dcesrv_exchange_emsmdb.h:200
enum MAPISTATUS EcDoRpc_RopModifyPermissions(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcperm.c:136
struct mpm_attachment * attachments
Definition: mpm_cache.h:85
enum MAPISTATUS openchangedb_get_mapistoreURI(TALLOC_CTX *, struct openchangedb_context *, const char *, uint64_t, char **, bool)
Definition: openchangedb.c:247
struct exchange_emsmdb_session * prev
Definition: dcesrv_exchange_emsmdb.h:67
_PUBLIC_ enum MAPISTATUS emsmdbp_object_open_folder_by_fid(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *context_object, uint64_t fid, struct emsmdbp_object **folder_object_p)
Definition: emsmdbp_object.c:610
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopMoveCopyMessages(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:934
const struct mapiproxy_module * mapiproxy_server_bystatus(const char *name, enum mapiproxy_status status)
Definition: dcesrv_mapiproxy_server.c:252
enum MAPISTATUS EcDoRpc_RopDeleteMessages(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:605
static enum MAPISTATUS mapi_handles_tdb_update(struct mapi_handles_context *handles_ctx, uint32_t handle, uint32_t container_handle)
Definition: mapi_handles.c:187
static bool dcesrv_mapiproxy_lp_defaults(struct loadparm_context *lp_ctx)
Definition: dcesrv_mapiproxy.c:735
bool emsabp_verify_user(struct dcesrv_call_state *, struct emsabp_context *)
Definition: emsabp.c:212
static void oxcmsg_fill_RecipientRow(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct RecipientRow *row, struct mapistore_message_recipient *recipient, struct SPropTagArray *properties)
Definition: oxcmsg.c:35
enum MAPISTATUS dcesrv_NspiDNToMId(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiDNToMId *)
Definition: dcesrv_mapiproxy_unused.c:515
_PUBLIC_ uint16_t libmapiserver_RopSyncImportMessageMove_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:183
_PUBLIC_ uint16_t libmapiserver_RopSyncImportMessageChange_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:89
@ EMSMDBP_OBJECT_SYNCCONTEXT
Definition: dcesrv_exchange_emsmdb.h:118
uint16_t libmapiserver_RopSetProperties_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:111
_PUBLIC_ enum MAPISTATUS openchangedb_set_folder_properties(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, struct SRow *row)
Definition: openchangedb.c:669
@ EMSMDBP_OBJECT_MAILBOX
Definition: dcesrv_exchange_emsmdb.h:110
Definition: dcesrv_exchange_emsmdb.h:76
uint32_t handle
Definition: mpm_cache.h:42
enum MAPISTATUS dcesrv_NspiSeekEntries(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiSeekEntries *)
Definition: dcesrv_mapiproxy_unused.c:485
enum MAPISTATUS emsabp_tdb_fetch(TDB_CONTEXT *, const char *, TDB_DATA *)
Definition: emsabp_tdb.c:152
uint16_t libmapiserver_RopOpenMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:38
enum MAPISTATUS openchangedb_delete_folder(struct openchangedb_context *, const char *, uint64_t)
Definition: openchangedb.c:775
NTSTATUS samba_init_module(void)
Definition: mpm_downgrade.c:122
_PUBLIC_ bool mapiproxy_server_loaded(const char *endpoint)
Definition: dcesrv_mapiproxy_server.c:104
struct ldb_context * samdb_connect_url(TALLOC_CTX *, struct tevent_context *, struct loadparm_context *, struct auth_session_info *, unsigned int, const char *)
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopEmptyFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:870
_PUBLIC_ uint16_t libmapiserver_RopTransportSend_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:89
#define SIZE_DFLT_ROPRESTRICT
Definition: libmapiserver.h:182
bool mapiproxy_NspiQueryRows(struct dcesrv_call_state *dce_call, struct NspiQueryRows *r)
Definition: dcesrv_mapiproxy_nspi.c:124
_PUBLIC_ TDB_CONTEXT * mapiproxy_server_emsabp_tdb_init(struct loadparm_context *lp_ctx)
Definition: dcesrv_mapiproxy_server.c:297
int emsmdbp_object_set_properties(struct emsmdbp_context *, struct emsmdbp_object *, struct SRow *)
Definition: emsmdbp_object.c:3186
@ EMSMDBP_PF_EFORMSREGISTRY
Definition: dcesrv_exchange_emsmdb.h:274
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncImportDeletes(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2435
struct emsmdbp_stream stream
Definition: dcesrv_exchange_emsmdb.h:206
_PUBLIC_ enum MAPISTATUS openchangedb_get_PublicFolderReplica(struct openchangedb_context *oc_ctx, const char *username, uint16_t *ReplID, struct GUID *ReplGUID)
Definition: openchangedb.c:222
enum MAPISTATUS openchangedb_message_open(TALLOC_CTX *, struct openchangedb_context *, const char *, uint64_t, uint64_t, void **, void **)
Definition: openchangedb_message.c:101
static NTSTATUS cache_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: mpm_cache.c:968
_PUBLIC_ enum MAPISTATUS openchangedb_initialize(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, struct openchangedb_context **oc_ctx)
Definition: openchangedb.c:44
__BEGIN_DECLS uint16_t libmapiserver_RopOpenFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:38
enum MAPISTATUS EcDoRpc_RopRegisterNotification(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcnotif.c:51
void dcesrv_sysatt_cluster_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct sysatt_cluster_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:123
_PUBLIC_ enum MAPISTATUS emsabp_fetch_attrs(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, struct PropertyRow_r *aRow, uint32_t MId, uint32_t dwFlags, struct SPropTagArray *pPropTags)
Definition: emsabp.c:732
enum MAPISTATUS EcDoRpc_RopGetPermissionsTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcperm.c:49
int sync_min
Definition: mpm_cache.h:90
enum MAPISTATUS openchangedb_initialize(TALLOC_CTX *, struct loadparm_context *, struct openchangedb_context **oc_ctx)
Definition: openchangedb.c:44
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetMessageReadFlag(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1054
uint16_t libmapiserver_RopCopyFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:281
#define OC_PANIC(is_fatal, body)
Report an unexpected nasty error that should not happen.
Definition: fault_util.h:61
void dcesrv_ds_remove_entry(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_remove_entry *)
Definition: dcesrv_mapiproxy_unused.c:262
static struct pidtags pidtags[]
Definition: openchangedb_property.c:13
uint16_t steps
Definition: dcesrv_exchange_emsmdb.h:202
#define SIZE_DFLT_ROPSYNCIMPORTMESSAGEMOVE
Definition: libmapiserver.h:471
static void dcesrv_NspiDeleteEntries(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiDeleteEntries *r)
Definition: dcesrv_exchange_nsp.c:1150
NTSTATUS mapiproxy_module_init(struct dcesrv_context *)
Definition: dcesrv_mapiproxy_module.c:208
static NTSTATUS cache_push_OpenStream(struct dcesrv_call_state *dce_call, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc_MAPI_REPL mapi_repl, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:717
enum MAPISTATUS dcesrv_NspiGetIDsFromNames(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetIDsFromNames *)
Definition: dcesrv_mapiproxy_unused.c:625
_PUBLIC_ enum MAPISTATUS openchangedb_create_folder(struct openchangedb_context *oc_ctx, const char *username, uint64_t parentFolderID, uint64_t fid, uint64_t changeNumber, const char *MAPIStoreURI, int systemIdx)
Definition: openchangedb.c:902
void * ldb_ctx
Definition: dcesrv_exchange_nsp.h:48
void dcesrv_ds_modify_rdn(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_modify_rdn *r)
Definition: dcesrv_mapiproxy_unused.c:232
enum MAPISTATUS EcDoRpc_RopGetStreamSize(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:917
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOptionsData(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:459
NTSTATUS mapiproxy_server_dispatch(struct dcesrv_call_state *, TALLOC_CTX *, void *, struct mapiproxy *)
Definition: dcesrv_mapiproxy_server.c:43
void dcesrv_ds_compare(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_compare *r)
Definition: dcesrv_mapiproxy_unused.c:202
Definition: dcesrv_exchange_emsmdb.h:155
Definition: dcesrv_exchange_emsmdb.h:177
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetLocalReplicaMidsetDeleted(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:3645
enum MAPISTATUS EcDoRpc_RopCopyFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:1140
int emsmdbp_object_stream_commit(struct emsmdbp_object *)
Definition: emsmdbp_object.c:660
int num_mp_modules
Definition: dcesrv_mapiproxy_module.c:37
NTSTATUS mapiproxy_server_unbind(struct server_id server_id, uint32_t context_id)
Definition: dcesrv_mapiproxy_server.c:68
const char * name
Definition: dcesrv_exchange_emsmdb.h:287
enum MAPISTATUS EcDoRpc_RopSyncGetTransferState(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:3548
static NTSTATUS mapiproxy_op_connect(struct dcesrv_call_state *dce_call, const struct ndr_interface_table *table, const char *binding)
Definition: dcesrv_mapiproxy.c:48
struct exchange_nsp_session * next
Definition: dcesrv_exchange_nsp.h:58
bool ndrdump
Definition: dcesrv_mapiproxy.h:51
@ EMSMDBP_SHORTCUTS
Definition: dcesrv_exchange_emsmdb.h:253
emsmdbp_mailbox_systemidx
Definition: dcesrv_exchange_emsmdb.h:245
_PUBLIC_ void emsmdbp_stream_write_buffer(TALLOC_CTX *mem_ctx, struct emsmdbp_stream *stream, DATA_BLOB new_buffer)
Definition: emsmdbp_object.c:3423
uint16_t libmapiserver_RopFastTransferSourceCopyTo_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:38
enum MAPISTATUS dcesrv_NspiUpdateStat(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiUpdateStat *)
Definition: dcesrv_mapiproxy_unused.c:465
enum MAPISTATUS EcDoRpc_RopGetPropertiesSpecific(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:53
_PUBLIC_ enum MAPISTATUS openchangedb_get_table_property(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, const char *ldb_filter, uint32_t proptag, uint32_t pos, void **data)
FIXME Not used anywhere, remove it? see mapiproxy/servers/default/emsmdb/emsmdbp_object....
Definition: openchangedb.c:694
#define __END_DECLS
Definition: dcesrv_mapiproxy_proto.h:31
NTSTATUS dcerpc_server_exchange_nsp_init(void)
@ EMSMDBP_OUTBOX
Definition: dcesrv_exchange_emsmdb.h:263
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopModifyRules(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxorule.c:134
uint16_t libmapiserver_RopSetSpooler_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:53
void * emsmdbp_openchangedb_init(struct loadparm_context *)
Definition: emsmdbp.c:223
#define SIZE_DFLT_ROPSYNCIMPORTHIERARCHYCHANGE
Definition: libmapiserver.h:465
static bool mapiproxy_fill_interface(struct dcesrv_interface *iface, const struct ndr_interface_table *tbl)
Definition: dcesrv_mapiproxy.c:648
void emsmdbp_fill_table_row_blob(TALLOC_CTX *, struct emsmdbp_context *, DATA_BLOB *, uint16_t, enum MAPITAGS *, void **, enum MAPISTATUS *)
Definition: emsmdbp_object.c:2169
NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
_PUBLIC_ enum MAPISTATUS mapi_handles_release(struct mapi_handles_context *handles_ctx)
Definition: mapi_handles.c:68
_PUBLIC_ uint16_t libmapiserver_RopGetTransportFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:115
enum MAPISTATUS emsabp_get_account_info(TALLOC_CTX *, struct emsabp_context *, const char *, struct ldb_message **)
Definition: emsabp.c:166
uint32_t attachmentID
Definition: dcesrv_exchange_emsmdb.h:170
void dcesrv_dra_adopt(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_adopt *r)
Definition: dcesrv_mapiproxy_unused.c:362
enum MAPISTATUS dcesrv_EcDoRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpc *r)
Definition: dcesrv_mapiproxy_unused.c:678
_PUBLIC_ uint16_t libmapiserver_RopSyncUploadStateStreamBegin_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:144
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSaveChangesMessage(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:534
static struct mapiproxy_module_list * server_list
Definition: dcesrv_mapiproxy_server.c:38
NTSTATUS mpm_cache_stream_read(struct mpm_stream *stream, size_t input_size, size_t *length, uint8_t **data)
Definition: mpm_cache_stream.c:150
void dcesrv_ds_list(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_list *)
Definition: dcesrv_mapiproxy_unused.c:212
_PUBLIC_ void ** emsmdbp_object_table_get_row_props(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *table_object, uint32_t row_id, enum mapistore_query_type query_type, enum MAPISTATUS **retvalsp)
Definition: emsmdbp_object.c:1850
_PUBLIC_ enum MAPISTATUS mapi_handles_add(struct mapi_handles_context *handles_ctx, uint32_t container_handle, struct mapi_handles **rec)
Definition: mapi_handles.c:269
_PUBLIC_ uint16_t libmapiserver_RopReloadCachedInformation_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:153
const struct ndr_interface_table * ndr_table_by_uuid(const struct GUID *)
bool mapiproxy_server_loaded(const char *)
Definition: dcesrv_mapiproxy_server.c:104
enum MAPISTATUS emsabp_get_HierarchyTable(TALLOC_CTX *, struct emsabp_context *, uint32_t, struct PropertyRowSet_r **)
Definition: emsabp.c:961
stat h types h NTSTATUS mpm_cache_stream_open(struct mpm_cache *mpm, struct mpm_stream *stream)
Definition: mpm_cache_stream.c:50
enum MAPISTATUS emsmdbp_object_open_folder_by_fid(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, uint64_t, struct emsmdbp_object **)
Definition: emsmdbp_object.c:610
enum MAPISTATUS emsabp_ab_fetch_filter(TALLOC_CTX *, struct emsabp_context *, uint32_t, char **)
Definition: emsabp.c:1356
enum MAPISTATUS EcDoRpc_RopSyncImportMessageMove(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2910
void dcesrv_ds_wait(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_wait *)
Definition: dcesrv_mapiproxy_unused.c:292
uint32_t handle
Definition: dcesrv_exchange_emsmdb.h:145
int emsabp_property_is_ref(uint32_t)
Definition: emsabp_property.c:151
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetContentsTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:236
_PUBLIC_ enum MAPISTATUS emsmdbp_resolve_recipient(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, char *recipient, struct mapi_SPropTagArray *properties, struct RecipientRow *row)
Definition: emsmdbp.c:363
bool mpm_session_cmp_sub(struct mpm_session *, struct server_id, uint32_t)
Definition: dcesrv_mapiproxy_session.c:178
Definition: libmapiproxy.h:38
NTSTATUS mapiproxy_module_unbind(struct server_id, uint32_t)
struct emsmdbp_syncconfigure_request request
Definition: dcesrv_exchange_emsmdb.h:178
static void oxcfxics_ndr_push_properties(struct ndr_push *ndr, struct ndr_push *cutmarks_ndr, void *nprops_ctx, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: oxcfxics.c:255
uint16_t libmapiserver_RopGetPropertiesList_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:88
#define SIZE_DFLT_ROPDELETEFOLDER
Definition: libmapiserver.h:216
@ EMSMDBP_PF_ROOT
Definition: dcesrv_exchange_emsmdb.h:271
_PUBLIC_ enum MAPISTATUS openchangedb_get_folder_count(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, uint32_t *RowCount)
Definition: openchangedb.c:468
enum MAPISTATUS emsabp_search_dn(struct emsabp_context *, const char *, struct ldb_message **)
Definition: emsabp.c:1274
static enum MAPISTATUS dcesrv_EcRRegisterPushNotification(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRRegisterPushNotification *r)
Definition: dcesrv_exchange_emsmdb.c:1037
NTSTATUS mapiproxy_module_push(struct dcesrv_call_state *, TALLOC_CTX *, void *)
Definition: dcesrv_mapiproxy_module.c:41
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPermissionsTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcperm.c:49
static NTSTATUS dcesrv_exchange_ds_rfr_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: dcesrv_exchange_ds_rfr.c:141
struct FlatUID_r ProviderUID
Definition: dcesrv_exchange_nsp.h:89
enum MAPISTATUS EcDoRpc_RopSyncImportReadStateChanges(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:3209
enum MAPISTATUS openchangedb_get_SystemFolderID(struct openchangedb_context *, const char *, uint32_t, uint64_t *)
Definition: openchangedb.c:115
enum mapistore_error emsmdbp_object_open_folder(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, uint64_t, struct emsmdbp_object **)
Definition: emsmdbp_object.c:419
struct emsmdbp_stream_data * prev
Definition: dcesrv_exchange_emsmdb.h:166
enum MAPISTATUS EcDoRpc_RopGetLocalReplicaIds(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:3095
_PUBLIC_ enum MAPISTATUS mapi_handles_get_private_data(struct mapi_handles *handle, void **private_data)
Definition: mapi_handles.c:364
static void dcesrv_do_NspiResolveNamesW(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResolveNamesW *r)
Definition: dcesrv_exchange_nsp.c:1233
bool ahead
Definition: libmapiproxy.h:40
enum MAPISTATUS emsmdbp_get_org_dn(struct emsmdbp_context *, struct ldb_dn **)
Definition: emsmdbp.c:637
uint16_t libmapiserver_RopGetPerUserGuid_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:192
uint16_t logon_count
Definition: libmapiproxy.h:108
#define SIZE_DFLT_ROPSEEKSTREAM
Definition: libmapiserver.h:247
_PUBLIC_ uint16_t libmapiserver_RopFastTransferSourceGetBuffer_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:52
enum mapistore_error emsmdbp_object_get_fid_by_name(struct emsmdbp_context *, struct emsmdbp_object *, const char *, uint64_t *)
Definition: emsmdbp_object.c:171
_PUBLIC_ uint16_t libmapiserver_RopEmptyFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:217
uint16_t libmapiserver_RopCopyFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:281
enum MAPISTATUS EcDoRpc_RopDeleteFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:522
static int emsmdbp_mapi_store_destructor(void *data)
Definition: emsmdbp.c:95
_PUBLIC_ uint16_t libmapiserver_RopOpenStream_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:185
static enum MAPISTATUS RopLogon_PublicFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl)
Definition: oxcstor.c:148
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_subscription_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:2605
bool mpm_session_increment_ref_count(struct mpm_session *)
Definition: dcesrv_mapiproxy_session.c:71
void * private_data
Definition: libmapiproxy.h:120
struct exchange_nsp_session * prev
Definition: dcesrv_exchange_nsp.h:57
uint64_t messageID
Definition: dcesrv_exchange_emsmdb.h:138
enum MAPISTATUS dcesrv_EcDoRpcExt(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoRpcExt *)
Definition: dcesrv_mapiproxy_unused.c:748
_PUBLIC_ enum MAPISTATUS openchangedb_get_SpecialFolderID(struct openchangedb_context *oc_ctx, const char *recipient, uint32_t SystemIdx, uint64_t *FolderId)
Definition: openchangedb.c:93
NTSTATUS(* pull)(struct dcesrv_call_state *, TALLOC_CTX *, void *)
Definition: libmapiproxy.h:58
static NTSTATUS mpm_cache_ldb_add_folder(TALLOC_CTX *mem_ctx, struct ldb_context *ldb_ctx, uint64_t FolderId)
Definition: mpm_cache_ldb.c:79
const char * profile_path
Definition: libmapiproxy.h:96
_PUBLIC_ bool emsabp_destructor(void *data)
Definition: emsabp.c:133
static enum MAPISTATUS dcesrv_EcDoRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpc *r)
Definition: dcesrv_exchange_emsmdb.c:960
enum MAPISTATUS EcDoRpc_RopCreateFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:348
_PUBLIC_ uint16_t libmapiserver_RopSyncUploadStateStreamContinue_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:157
enum MAPISTATUS EcDoRpc_RopResetTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:1007
enum MAPISTATUS EcDoRpc_RopSyncImportHierarchyChange(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2274
static void dcesrv_EcUnknown0xC(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcUnknown0xC *r)
Definition: dcesrv_exchange_emsmdb.c:1499
#define SIZE_DFLT_LONGTERMID
Definition: libmapiserver.h:436
static void dcesrv_NspiGetProps(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetProps *r)
Definition: dcesrv_exchange_nsp.c:922
#define DCESRV_NSP_RETURN(r, c, ctx)
Definition: dcesrv_exchange_nsp.h:120
uint16_t libmapiserver_TypedString_size(struct TypedString)
Definition: libmapiserver_oxcdata.c:38
FILE * fp
Definition: mpm_cache.h:69
static NTSTATUS mapiproxy_op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r)
Definition: dcesrv_mapiproxy.c:379
enum MAPITAGS entryid_property
Definition: dcesrv_exchange_emsmdb.h:286
NTSTATUS mapiproxy_module_register(const void *_mp_module)
Definition: dcesrv_mapiproxy_module.c:154
static NTSTATUS pack_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_pack.c:252
enum MAPISTATUS dcesrv_EcRUnregisterPushNotification(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRUnregisterPushNotification *r)
Definition: dcesrv_mapiproxy_unused.c:708
static void oxcfxics_prepare_synccontext_with_folderChange(struct emsmdbp_object_synccontext *synccontext, TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, const char *owner, struct emsmdbp_object *parent_object)
Definition: oxcfxics.c:1526
struct mpm_message * prev
Definition: mpm_cache.h:45
NTSTATUS mapiproxy_module_pull(struct dcesrv_call_state *, TALLOC_CTX *, void *)
Definition: dcesrv_mapiproxy_module.c:89
bool emsabp_verify_codepage(struct emsabp_context *, uint32_t)
Definition: emsabp.c:269
NTSTATUS(* ndr_pull)(struct dcesrv_call_state *, TALLOC_CTX *, struct ndr_pull *)
Definition: libmapiproxy.h:57
struct ldb_context * samdb_connect_url(TALLOC_CTX *, struct tevent_context *, struct loadparm_context *, struct auth_session_info *, unsigned int, const char *)
@ EXCHANGE_HANDLE_ASYNCEMSMDB
Definition: dcesrv_mapiproxy.h:59
enum MAPISTATUS EcDoRpc_RopSubmitMessage(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:150
uint32_t context_id
Definition: libmapiproxy.h:73
static void oxcfxics_check_cutmark_buffer(void *cutmark_buffer, DATA_BLOB *data_buffer)
Definition: oxcfxics.c:115
static enum MAPISTATUS emsmdbp_object_sharing_metadata_providers_node(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *sharing_object, char *remote_uid, char *remote_store_uid, char *target_recipients, char **providers_node, TALLOC_CTX *mem_ctx)
Definition: emsmdbp_object.c:3661
enum MAPISTATUS openchangedb_get_parent_fid(struct openchangedb_context *, const char *, uint64_t, uint64_t *, bool)
Definition: openchangedb.c:320
bool sync
Definition: mpm_cache.h:89
enum MAPISTATUS dcesrv_NspiDeleteEntries(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiDeleteEntries *r)
Definition: dcesrv_mapiproxy_unused.c:595
static NTSTATUS pack_init(struct dcesrv_context *dce_ctx)
Definition: mpm_pack.c:290
#define SIZE_DFLT_ROPSETCOLUMNS
Definition: libmapiserver.h:170
_PUBLIC_ struct emsmdbp_stream_data * emsmdbp_object_get_stream_data(struct emsmdbp_object *object, enum MAPITAGS prop_tag)
Definition: emsmdbp_object.c:3451
static void oxcfxics_fill_ftcontext_fasttransfer_response(struct FastTransferSourceGetBuffer_repl *response, uint32_t request_buffer_size, TALLOC_CTX *mem_ctx, struct emsmdbp_object_ftcontext *ftcontext, struct emsmdbp_context *emsmdbp_ctx)
Definition: oxcfxics.c:1610
__BEGIN_DECLS NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
static enum MAPISTATUS emsmdbp_fetch_freebusy(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, const char *username, struct tm *start_tm, struct tm *end_tm, struct mapistore_freebusy_properties **fb_props_p)
Definition: emsmdbp_object.c:2296
_PUBLIC_ enum MAPISTATUS emsmdbp_object_table_get_recursive_row_props(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *context_object, DATA_BLOB *datablob, struct SPropTagArray *properties, uint64_t current_fid, int64_t *remaining, uint32_t *count)
Definition: emsmdbp_object.c:2082
_PUBLIC_ uint16_t libmapiserver_mapi_SPropValue_size(uint16_t cValues, struct mapi_SPropValue *lpProps)
Definition: libmapiserver_oxcdata.c:186
enum MAPISTATUS EcDoRpc_RopGetContentsTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:236
#define SIZE_DFLT_ROPSYNCIMPORTMESSAGECHANGE
Definition: libmapiserver.h:459
NTSTATUS dcerpc_server_exchange_sysatt_cluster_init(void)
_PUBLIC_ int emsabp_property_is_ref(uint32_t ulPropTag)
Definition: emsabp_property.c:151
static enum MAPISTATUS mapiserver_get_administrative_group_legacyexchangedn(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, char **legacyexchangedn)
Definition: emsmdbp_object.c:2259
const char * home_directory
Definition: libmapiproxy.h:97
_PUBLIC_ uint16_t libmapiserver_RopModifyPermissions_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcperm.c:50
_PUBLIC_ uint16_t libmapiserver_RopGetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:193
enum MAPISTATUS entryid_set_folder_EntryID(TALLOC_CTX *, struct GUID *, struct GUID *, uint16_t, uint64_t, struct Binary_r **)
Definition: entryid.c:73
bool authenticated
Definition: libmapiproxy.h:113
static void oxcfxics_fill_synccontext_fasttransfer_response(struct FastTransferSourceGetBuffer_repl *response, uint32_t request_buffer_size, TALLOC_CTX *mem_ctx, struct emsmdbp_object_synccontext *synccontext, struct emsmdbp_object *parent_object)
Definition: oxcfxics.c:1679
enum MAPISTATUS dcesrv_NspiGetSpecialTable(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetSpecialTable *)
Definition: dcesrv_mapiproxy_unused.c:565
struct emsmdbp_object_table * table
Definition: dcesrv_exchange_emsmdb.h:224
enum MAPISTATUS mapi_handles_get_systemfolder(struct mapi_handles *, int *)
enum MAPISTATUS dcesrv_EcDoRpcExt2(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoRpcExt2 *)
Definition: dcesrv_mapiproxy_unused.c:766
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPerUserGuid(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:932
uint32_t AttachmentID
Definition: mpm_cache.h:53
_PUBLIC_ bool emsmdbp_set_session_uuid(struct emsmdbp_context *emsmdbp_ctx, struct GUID uuid)
Definition: emsmdbp.c:205
void dcesrv_unknown_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct unknown_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:806
enum MAPISTATUS emsabp_PermanentEntryID_to_Binary_r(TALLOC_CTX *, struct PermanentEntryID *, struct Binary_r *)
Definition: emsabp.c:444
static NTSTATUS cache_push_OpenAttach(struct dcesrv_call_state *dce_call, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc_MAPI_REPL mapi_repl, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:556
#define MAPI_HANDLES_RESERVED
Definition: libmapiproxy.h:133
static NTSTATUS cache_pull_OpenAttach(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:482
static struct emsmdbp_special_folder * get_special_folders(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
Definition: emsmdbp_provisioning.c:40
enum mapistore_error emsmdbp_folder_delete_indexing_records(struct mapistore_context *, uint32_t, char *, uint64_t, uint64_t *, uint32_t, uint8_t)
Definition: emsmdbp_object.c:1489
uint16_t libmapiserver_RopSetLocalReplicaMidsetDeleted_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:264
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetReceiveFolderTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:646
#define SIZE_DFLT_ROPGETLOCALREPLICAIDS
Definition: libmapiserver.h:478
bool unicode
Definition: dcesrv_exchange_emsmdb.h:80
NTSTATUS dcerpc_server_exchange_store_admin1_init(void)
void dcesrv_dra_modify_entry(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_modify_entry *r)
Definition: dcesrv_mapiproxy_unused.c:382
static enum MAPISTATUS dcesrv_EcDoRpcExt(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpcExt *r)
Definition: dcesrv_exchange_emsmdb.c:1159
bool mailboxstore
Definition: dcesrv_exchange_emsmdb.h:127
#define MPM_NAME
Definition: mpm_cache.h:115
NTSTATUS(* push)(struct dcesrv_call_state *, TALLOC_CTX *, void *)
Definition: libmapiproxy.h:56
static void dcesrv_EcRGetDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRGetDCName *r)
Definition: dcesrv_exchange_emsmdb.c:1123
struct emsmdbp_object * emsmdbp_object_message_open_attachment_table(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:2500
_PUBLIC_ int emsmdbp_object_set_properties(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SRow *rowp)
Definition: emsmdbp_object.c:3186
union emsmdbp_objects object
Definition: dcesrv_exchange_emsmdb.h:235
openchange_plugin_init_fn * load_openchange_plugins(TALLOC_CTX *mem_ctx, const char *subsystem)
Definition: modules.c:58
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopWriteStream(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:770
uint32_t numerator
Definition: dcesrv_exchange_emsmdb.h:149
#define SIZE_DFLT_ROPCOPYTO
Definition: libmapiserver.h:120
_PUBLIC_ enum MAPISTATUS emsmdbp_mailbox_provision(struct emsmdbp_context *emsmdbp_ctx, const char *username)
Definition: emsmdbp_provisioning.c:202
_PUBLIC_ uint16_t libmapiserver_RopSeekStream_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:288
enum mapistore_context_role role
Definition: dcesrv_exchange_emsmdb.h:285
enum MAPISTATUS dcesrv_NspiGetMatches(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetMatches *)
Definition: dcesrv_mapiproxy_unused.c:495
uint16_t libmapiserver_RopSyncUploadStateStreamContinue_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:157
_PUBLIC_ enum MAPISTATUS openchangedb_message_get_property(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, void *message_object, uint32_t proptag, void **data)
Definition: openchangedb_message.c:126
enum MAPISTATUS openchangedb_get_new_public_folderID(struct openchangedb_context *, const char *, uint64_t *)
Definition: openchangedb.c:990
uint32_t contextID
Definition: dcesrv_exchange_emsmdb.h:132
int emsmdbp_object_copy_properties(struct emsmdbp_context *, struct emsmdbp_object *, struct emsmdbp_object *, struct SPropTagArray *, bool)
Definition: emsmdbp_object.c:1059
#define SIZE_DFLT_ROPLONGTERMIDFROMID
Definition: libmapiserver.h:364
enum MAPISTATUS EcDoRpc_RopSetColumns(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:49
static void oxcfxics_ndr_check(struct ndr_push *ndr, const char *label)
Definition: oxcfxics.c:98
struct emsabp_context * emsabp_init(struct loadparm_context *, TDB_CONTEXT *)
Definition: emsabp.c:88
const struct mapiproxy_module * module
Definition: libmapiproxy.h:65
int emsmdbp_get_fid_from_uri(struct emsmdbp_context *, const char *, uint64_t *)
Definition: emsmdbp_object.c:518
enum MAPISTATUS EcDoRpc_RopGetSearchCriteria(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:741
#define SIZE_DFLT_MAPI_RESPONSE
Definition: libmapiserver.h:49
struct ldb_context * samdb_connect(TALLOC_CTX *, struct tevent_context *, struct loadparm_context *, struct auth_session_info *, unsigned int)
uint16_t libmapiserver_RopRemoveAllRecipients_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:125
enum MAPISTATUS dcesrv_NspiResortRestriction(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiResortRestriction *)
Definition: dcesrv_mapiproxy_unused.c:505
__BEGIN_DECLS NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
_PUBLIC_ enum MAPISTATUS openchangedb_get_MailboxReplica(struct openchangedb_context *oc_ctx, const char *recipient, uint16_t *ReplID, struct GUID *ReplGUID)
Definition: openchangedb.c:201
_PUBLIC_ enum MAPISTATUS openchangedb_set_system_idx(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, int system_idx)
Definition: openchangedb.c:294
struct mapi_handles * next
Definition: libmapiproxy.h:122
_PUBLIC_ uint16_t libmapiserver_RopOptionsData_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:136
char * dn
Definition: dcesrv_exchange_nsp.h:77
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_stream_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:2539
const char * emsmdbp_getstr_type(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:42
_PUBLIC_ uint16_t libmapiserver_RopGetPerUserGuid_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:192
static int mapi_handles_traverse_null(TDB_CONTEXT *tdb_ctx, TDB_DATA key, TDB_DATA dbuf, void *state)
Definition: mapi_handles.c:237
enum MAPISTATUS EcDoRpc_RopSeekRow(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:649
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetReceiveFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:552
#define SIZE_DFLT_ROPGETRECEIVEFOLDER
Definition: libmapiserver.h:253
exchange_handle
Definition: dcesrv_mapiproxy.h:55
struct mpm_session * mpm_session_new(TALLOC_CTX *mem_ctx, struct server_id serverid, uint32_t context_id)
Definition: dcesrv_mapiproxy_session.c:43
uint16_t steps
Definition: dcesrv_exchange_emsmdb.h:212
__BEGIN_DECLS void openchange_abort(bool is_fatal)
Definition: fault_util.c:74
struct emsmdbp_stream_data * emsmdbp_object_get_stream_data(struct emsmdbp_object *, enum MAPITAGS)
Definition: emsmdbp_object.c:3451
static int mapi_handles_traverse_delete(TDB_CONTEXT *tdb_ctx, TDB_DATA key, TDB_DATA dbuf, void *state)
Definition: mapi_handles.c:414
_PUBLIC_ uint16_t libmapiserver_RopIdFromLongTermId_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:122
struct mpm_attachment * next
Definition: mpm_cache.h:56
_PUBLIC_ uint16_t libmapiserver_PropertyName_size(struct MAPINAMEID *property_name)
Definition: libmapiserver_oxcdata.c:166
Definition: libmapiproxy.h:64
static void dcesrv_NspiResolveNames(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResolveNames *r)
Definition: dcesrv_exchange_nsp.c:1408
enum MAPISTATUS openchangedb_message_save(struct openchangedb_context *, void *, uint8_t)
Definition: openchangedb_message.c:77
void dcesrv_dra_unauthorize_replica(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_unauthorize_replica *r)
Definition: dcesrv_mapiproxy_unused.c:352
#define SIZE_DFLT_ROPGETSTREAMSIZE
Definition: libmapiserver.h:241
struct mpm_attachment * attachment
Definition: mpm_cache.h:74
static NTSTATUS mapiproxy_op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: dcesrv_mapiproxy.c:454
enum MAPISTATUS dcesrv_EcDoAsyncConnectEx(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoAsyncConnectEx *)
Definition: dcesrv_mapiproxy_unused.c:793
uint8_t R2
Definition: dcesrv_exchange_nsp.h:72
#define SIZE_DFLT_ROPMOVECOPYMESSAGES
Definition: libmapiserver.h:318
void dcesrv_EcUnknown0xC(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcUnknown0xC *r)
Definition: dcesrv_mapiproxy_unused.c:775
uint16_t libmapiserver_RopMoveCopyMessages_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:237
_PUBLIC_ enum MAPISTATUS openchangedb_get_folder_property(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, const char *username, uint32_t proptag, uint64_t fid, void **data)
Definition: openchangedb.c:644
uint16_t libmapiserver_RopResetTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:195
TDB_CONTEXT * tdb_ctx
Definition: libmapiproxy.h:127
static void dcesrv_NspiGetNamesFromIDs(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetNamesFromIDs *r)
Definition: dcesrv_exchange_nsp.c:1188
void dcesrv_ds_receive_result(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_receive_result *r)
Definition: dcesrv_mapiproxy_unused.c:252
void dcesrv_ds_wait(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_wait *r)
Definition: dcesrv_mapiproxy_unused.c:292
enum MAPISTATUS EcDoRpc_RopRelease(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, uint32_t *, uint16_t *)
Definition: oxcstor.c:274
uint16_t libmapiserver_RopIdFromLongTermId_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:122
@ EXCHANGE_HANDLE_DS_RFR
Definition: dcesrv_mapiproxy.h:58
struct mpm_stream * streams
Definition: mpm_cache.h:86
#define EMSABP_TDB_NAME
EMSABP server defines.
Definition: libmapiproxy.h:141
Definition: libmapiproxy.h:50
static int emsmdbp_copy_message_recipients_mapistore(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *source_object, struct emsmdbp_object *dest_object)
Definition: emsmdbp_object.c:903
const char * emsabp_property_get_attribute(uint32_t)
Definition: emsabp_property.c:101
const char * emsmdbp_getstr_type(struct emsmdbp_object *)
Definition: emsmdbp_object.c:42
_PUBLIC_ uint16_t libmapiserver_RopSortTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:60
#define EMSMDB_PCRETRY
Definition: dcesrv_exchange_emsmdb.h:242
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetProperties(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:394
uint16_t libmapiserver_RopReadPerUserInformation_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:168
_PUBLIC_ enum MAPISTATUS openchangedb_get_parent_fid(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, uint64_t *parent_fidp, bool mailboxstore)
Definition: openchangedb.c:320
struct emsmdbp_object * emsmdbp_object_folder_init(TALLOC_CTX *, struct emsmdbp_context *, uint64_t, struct emsmdbp_object *)
Definition: emsmdbp_object.c:1201
enum MAPISTATUS dcesrv_NspiQueryColumns(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiQueryColumns *r)
Definition: dcesrv_mapiproxy_unused.c:605
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_folder_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint64_t folderID, struct emsmdbp_object *parent_object)
Definition: emsmdbp_object.c:1201
@ EMSMDBP_DELETED_ITEMS
Definition: dcesrv_exchange_emsmdb.h:265
enum MAPITAGS * properties
Definition: dcesrv_exchange_emsmdb.h:148
uint32_t last_handle
Definition: libmapiproxy.h:128
_PUBLIC_ uint16_t libmapiserver_RopGetAttachmentTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:240
_PUBLIC_ enum MAPISTATUS emsabp_get_HierarchyTable(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, uint32_t dwFlags, struct PropertyRowSet_r **SRowSet)
Definition: emsabp.c:961
static enum MAPISTATUS RopGetReceiveFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles)
Definition: oxcstor.c:484
_PUBLIC_ NTSTATUS mapiproxy_server_init(struct dcesrv_context *dce_ctx)
Definition: dcesrv_mapiproxy_server.c:232
#define SIZE_DFLT_ROPCREATEATTACH
Definition: libmapiserver.h:153
static bool pack(TALLOC_CTX *mem_ctx, struct EcDoRpc *EcDoRpc)
Definition: mpm_pack.c:151
void dcesrv_dra_replica_add(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_replica_add *)
Definition: dcesrv_mapiproxy_unused.c:302
Definition: dcesrv_exchange_nsp.h:61
_PUBLIC_ uint16_t libmapiserver_RopLongTermIdFromId_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:102
#define SIZE_DFLT_ROPCREATEFOLDER
Definition: libmapiserver.h:210
enum MAPISTATUS emsabp_set_PermanentEntryID(struct emsabp_context *, uint32_t, struct ldb_message *, struct PermanentEntryID *)
Definition: emsabp.c:382
_PUBLIC_ enum MAPISTATUS emsabp_ab_fetch_filter(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, uint32_t ContainerID, char **filter)
Definition: emsabp.c:1356
void dcesrv_ec_store_admin2_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ec_store_admin2_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:72
@ EMSMDBP_OBJECT_UNDEF
Definition: dcesrv_exchange_emsmdb.h:109
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetNamesFromIDs(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:1239
bool mapiproxy_NspiGetProps(struct dcesrv_call_state *, struct NspiGetProps *)
Definition: dcesrv_mapiproxy_nspi.c:69
uint16_t libmapiserver_RopSortTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:60
struct emsmdbp_object * emsmdbp_folder_open_table(TALLOC_CTX *, struct emsmdbp_object *, uint32_t, uint32_t)
Definition: emsmdbp_object.c:1621
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCommitStream(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:846
TALLOC_CTX * mem_ctx
Definition: dcesrv_exchange_nsp.h:51
bool mpm_session_cmp(struct mpm_session *, struct dcesrv_call_state *)
Definition: dcesrv_mapiproxy_session.c:206
A stream can either be for a message or attachment.
Definition: mpm_cache.h:62
void dcesrv_EcRGetDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRGetDCName *r)
Definition: dcesrv_mapiproxy_unused.c:728
static NTSTATUS mapiproxy_op_reply(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: dcesrv_mapiproxy.c:42
_PUBLIC_ uint16_t libmapiserver_RopDeleteProperties_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:137
Definition: dcesrv_exchange_emsmdb.h:211
uint16_t libmapiserver_RopDeletePropertiesNoReplicate_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:371
enum MAPISTATUS openchangedb_get_SpecialFolderID(struct openchangedb_context *, const char *, uint32_t, uint64_t *)
Definition: openchangedb.c:93
bool norelay
Definition: libmapiproxy.h:39
_PUBLIC_ enum MAPISTATUS mapi_handles_search(struct mapi_handles_context *handles_ctx, uint32_t handle, struct mapi_handles **rec)
Definition: mapi_handles.c:90
int emsmdbp_object_get_available_properties(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, struct SPropTagArray **)
Definition: emsmdbp_object.c:2630
static void dcesrv_NspiQueryColumns(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiQueryColumns *r)
Definition: dcesrv_exchange_nsp.c:1169
unsigned int total_objects
Definition: dcesrv_exchange_emsmdb.h:183
_PUBLIC_ enum MAPISTATUS openchangedb_get_fid_from_partial_uri(struct openchangedb_context *oc_ctx, const char *partialURI, uint64_t *fid)
FIXME Not used anywhere, remove it?
Definition: openchangedb.c:817
struct mapi_handles * handles
Definition: libmapiproxy.h:129
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_mailbox_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, const char *essDN, bool mailboxstore)
Definition: emsmdbp_object.c:1124
uint16_t libmapiserver_RopGetNamesFromIDs_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:321
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetColumns(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:49
enum MAPISTATUS emsabp_set_EphemeralEntryID(struct emsabp_context *, uint32_t, uint32_t, struct EphemeralEntryID *)
Definition: emsabp.c:288
@ EMSMDBP_INBOX
Definition: dcesrv_exchange_emsmdb.h:262
_PUBLIC_ enum mapistore_error emsmdbp_object_message_open(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_object, uint64_t folderID, uint64_t messageID, bool read_write, struct emsmdbp_object **messageP, struct mapistore_message **msgp)
Definition: emsmdbp_object.c:2435
_PUBLIC_ enum MAPISTATUS openchangedb_table_init(TALLOC_CTX *mem_ctx, struct openchangedb_context *self, const char *username, uint8_t table_type, uint64_t folderID, void **table_object)
/details Initialize an openchangedb table
Definition: openchangedb_table.c:48
static int emsmdbp_object_get_properties_message(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2714
void dcesrv_dra_replica_delete(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_replica_delete *r)
Definition: dcesrv_mapiproxy_unused.c:312
enum MAPISTATUS EcDoRpc_RopDeletePropertiesNoReplicate(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:1302
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSaveChangesAttachment(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1508
enum MAPISTATUS dcesrv_NspiModLinkAtt(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiModLinkAtt *)
Definition: dcesrv_mapiproxy_unused.c:585
static NTSTATUS dcesrv_exchange_emsmdb_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: dcesrv_exchange_emsmdb.c:1627
#define SIZE_DFLT_ROPQUERYROWS
Definition: libmapiserver.h:189
bool mpm_session_set_destructor(struct mpm_session *session, bool(*destructor)(void *))
Definition: dcesrv_mapiproxy_session.c:111
Definition: dcesrv_exchange_emsmdb.h:173
enum MAPISTATUS dcesrv_EcRRegisterPushNotification(struct dcesrv_call_state *, TALLOC_CTX *, struct EcRRegisterPushNotification *)
Definition: dcesrv_mapiproxy_unused.c:698
uint32_t handle
Definition: mpm_cache.h:52
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncImportMessageMove(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2910
#define SIZE_DFLT_ROPFINDROW
Definition: libmapiserver.h:287
#define EMSABP_DN
Definition: dcesrv_exchange_nsp.h:95
static void dcesrv_NspiResortRestriction(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResortRestriction *r)
Definition: dcesrv_exchange_nsp.c:825
#define __END_DECLS
Definition: dcesrv_exchange_emsmdb.h:43
bool ignore_no_longer_in_scope
Definition: dcesrv_exchange_emsmdb.h:97
enum MAPISTATUS dcesrv_NspiGetIDsFromNames(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetIDsFromNames *r)
Definition: dcesrv_mapiproxy_unused.c:625
bool mapiproxy_NspiQueryRows(struct dcesrv_call_state *, struct NspiQueryRows *)
Definition: dcesrv_mapiproxy_nspi.c:124
enum MAPISTATUS dcesrv_NspiResolveNamesW(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiResolveNamesW *)
Definition: dcesrv_mapiproxy_unused.c:645
struct emsmdbp_object * emsmdbp_object_subscription_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:2605
enum MAPISTATUS EcDoRpc_RopGetPerUserGuid(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:932
@ EMSMDBP_PF_IPMSUBTREE
Definition: dcesrv_exchange_emsmdb.h:272
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamBegin(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2553
DATA_BLOB user_session_key
Definition: libmapiproxy.h:88
static void oxcfxics_table_set_cn_restriction(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *table_object, const char *owner, struct idset *cnset_seen)
Definition: oxcfxics.c:755
char * openchangedb_set_folder_property_data(TALLOC_CTX *, struct SPropValue *)
Definition: openchangedb.c:507
static enum MAPISTATUS emsmdbp_object_sharing_metadata_recipients_attr(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *sharing_object, char **target_recipients_attr, TALLOC_CTX *mem_ctx)
Definition: emsmdbp_object.c:3592
Definition: dcesrv_exchange_nsp.h:43
enum MAPISTATUS mapi_handles_release(struct mapi_handles_context *)
Definition: mapi_handles.c:68
@ EMSMDBP_VIEWS
Definition: dcesrv_exchange_emsmdb.h:252
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncOpenCollector(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:3024
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopLogon(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:200
_PUBLIC_ enum MAPISTATUS openchangedb_get_TransportFolder(struct openchangedb_context *oc_ctx, const char *recipient, uint64_t *FolderId)
Definition: openchangedb.c:448
static enum MAPISTATUS emsmdbp_object_sharing_metadata_property(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *sharing_object, struct Binary_r **attach_bin, TALLOC_CTX *mem_ctx)
Definition: emsmdbp_object.c:3714
static void dcesrv_NspiModLinkAtt(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiModLinkAtt *r)
Definition: dcesrv_exchange_nsp.c:1131
_PUBLIC_ bool emsabp_verify_codepage(struct emsabp_context *emsabp_ctx, uint32_t CodePage)
Definition: emsabp.c:269
enum MAPISTATUS mapi_handles_set_private_data(struct mapi_handles *, void *)
Definition: mapi_handles.c:386
#define SIZE_DFLT_ROPGETNAMESFROMIDS
Definition: libmapiserver.h:293
enum MAPISTATUS EcDoRpc_RopOpenMessage(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:162
enum MAPISTATUS EcDoRpc_RopSaveChangesAttachment(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1508
enum MAPISTATUS dcesrv_EcDoConnect(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoConnect *)
Definition: dcesrv_mapiproxy_unused.c:658
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopIdFromLongTermId(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:782
NTSTATUS dcerpc_server_exchange_store_information_init(void)
Definition: dcesrv_mapiproxy.h:46
struct emsmdbp_object_attachment * attachment
Definition: dcesrv_exchange_emsmdb.h:226
enum mapistore_error emsmdbp_folder_move_folder(struct emsmdbp_context *, struct emsmdbp_object *, struct emsmdbp_object *, TALLOC_CTX *, const char *)
Definition: emsmdbp_object.c:1409
enum MAPISTATUS dcesrv_NspiDNToMId(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiDNToMId *r)
Definition: dcesrv_mapiproxy_unused.c:515
struct mapi_handles_context * mapi_handles_init(TALLOC_CTX *mem_ctx)
Definition: mapi_handles.c:40
_PUBLIC_ enum MAPISTATUS emsabp_tdb_fetch_MId(TDB_CONTEXT *tdb_ctx, const char *keyname, uint32_t *MId)
Definition: emsabp_tdb.c:193
uint16_t libmapiserver_RopModifyPermissions_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcperm.c:50
static int emsmdbp_object_get_properties_mailbox(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2956
enum MAPISTATUS dcesrv_NspiQueryRows(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiQueryRows *r)
Definition: dcesrv_mapiproxy_unused.c:475
openchange_plugin_init_fn * load_openchange_plugins(TALLOC_CTX *mem_ctx, const char *path)
Definition: modules.c:58
void dcesrv_exchange_store_information_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct exchange_store_information_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:431
enum MAPISTATUS EcDoRpc_RopOpenStream(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:522
static void oxcfxics_push_messageChange_recipients(struct emsmdbp_context *emsmdbp_ctx, struct oxcfxics_sync_data *sync_data, struct emsmdbp_object *message_object, struct mapistore_message *msg)
Definition: oxcfxics.c:539
uint8_t ID_type
Definition: dcesrv_exchange_nsp.h:85
_PUBLIC_ void emsmdbp_fill_table_row_blob(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, DATA_BLOB *table_row, uint16_t num_props, enum MAPITAGS *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2169
DATA_BLOB restriction
Definition: dcesrv_exchange_emsmdb.h:105
char * emsmdbp_get_owner(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:133
_PUBLIC_ enum MAPISTATUS emsabp_tdb_fetch(TDB_CONTEXT *tdb_ctx, const char *keyname, TDB_DATA *result)
Definition: emsabp_tdb.c:152
static NTSTATUS mapiproxy_op_init_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
Definition: dcesrv_mapiproxy.c:605
_PUBLIC_ void ** emsmdbp_object_get_properties(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, enum MAPISTATUS **retvalsp)
Definition: emsmdbp_object.c:3035
NTSTATUS mapiproxy_module_ndr_pull(struct dcesrv_call_state *, TALLOC_CTX *, struct ndr_pull *)
Definition: dcesrv_mapiproxy_module.c:65
NTSTATUS samba_init_module(void)
Definition: mpm_cache.c:1205
static enum mapistore_context_role emsmdbp_container_class_to_role(const char *container_class)
Definition: emsmdbp_object.c:208
static NTSTATUS cache_pull_Release(struct dcesrv_call_state *dce_call, struct EcDoRpc *EcDoRpc, uint32_t handle_idx)
Definition: mpm_cache.c:215
void dcesrv_sysatt_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct sysatt_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:136
enum MAPISTATUS dcesrv_NspiModProps(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiModProps *r)
Definition: dcesrv_mapiproxy_unused.c:555
struct openchangedb_context * oc_ctx
Definition: dcesrv_exchange_emsmdb.h:54
#define AB_UNMODIFIABLE
Definition: dcesrv_exchange_nsp.h:103
struct exchange_emsmdb_session * next
Definition: dcesrv_exchange_emsmdb.h:68
struct GUID session_uuid
Definition: dcesrv_exchange_emsmdb.h:60
@ EMSMDBP_PF_NONIPMSUBTREE
Definition: dcesrv_exchange_emsmdb.h:273
_PUBLIC_ int emsmdbp_object_copy_properties(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *source_object, struct emsmdbp_object *target_object, struct SPropTagArray *excluded_properties, bool deep_copy)
Definition: emsmdbp_object.c:1059
uint16_t libmapiserver_RopGetLocalReplicaIds_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:217
enum MAPISTATUS EcDoRpc_RopGetRulesTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxorule.c:49
_PUBLIC_ uint16_t libmapiserver_RopGetHierarchyTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:61
static int emsmdbp_copy_properties(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *source_object, struct emsmdbp_object *dest_object, struct SPropTagArray *excluded_tags)
Definition: emsmdbp_object.c:826
uint16_t libmapiserver_RopSyncImportHierarchyChange_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:110
NTSTATUS samba_init_module(void)
Definition: mpm_dummy.c:75
NTTIME acct_expiry
Definition: libmapiproxy.h:103
enum MAPISTATUS EcDoRpc_RopSetProperties(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:394
struct emsmdbp_object * emsmdbp_object_attachment_init(TALLOC_CTX *, struct emsmdbp_context *, uint64_t, struct emsmdbp_object *)
Definition: emsmdbp_object.c:2578
_PUBLIC_ enum MAPISTATUS emsabp_tdb_close(TDB_CONTEXT *tdb_ctx)
Definition: emsabp_tdb.c:131
void dcesrv_dra_authorize_replica(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_authorize_replica *r)
Definition: dcesrv_mapiproxy_unused.c:342
types h stat h wait h struct mpm_cache * mpm
Definition: mpm_cache.c:39
struct emsmdbp_object_stream * stream
Definition: dcesrv_exchange_emsmdb.h:225
_PUBLIC_ enum MAPISTATUS emsmdbp_mailbox_provision_public_freebusy(struct emsmdbp_context *emsmdbp_ctx, const char *EssDN)
Definition: emsmdbp_provisioning.c:93
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeleteFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:522
_PUBLIC_ enum MAPISTATUS emsabp_search(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, struct PropertyTagArray_r *MIds, struct Restriction_r *restriction, struct STAT *pStat, uint32_t limit)
Definition: emsabp.c:1126
unsigned int skipped_objects
Definition: dcesrv_exchange_emsmdb.h:182
static NTSTATUS mapiproxy_server_overwrite(TALLOC_CTX *mem_ctx, const char *name, const char *endpoint)
Definition: dcesrv_mapiproxy_server.c:120
@ EMSMDBP_OBJECT_FTCONTEXT
Definition: dcesrv_exchange_emsmdb.h:117
static bool MessageClassIsValid(const char *MessageClass)
Definition: oxcstor.c:333
void dcesrv_ds_read(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_read *r)
Definition: dcesrv_mapiproxy_unused.c:242
struct mpm_message * message
Definition: mpm_cache.h:54
_PUBLIC_ uint16_t libmapiserver_RopQueryPosition_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:127
bool ignored_specified_on_fai
Definition: dcesrv_exchange_emsmdb.h:95
void * mapiproxy_server_openchangedb_init(struct loadparm_context *)
Definition: dcesrv_mapiproxy_server.c:335
struct emsmdbp_object * emsmdbp_object_ftcontext_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:3532
bool force_unicode
Definition: dcesrv_exchange_emsmdb.h:83
uint16_t total_steps
Definition: dcesrv_exchange_emsmdb.h:203
char * emsmdbp_get_owner(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:133
uint16_t libmapiserver_RopGetPermissionsTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcperm.c:38
enum MAPISTATUS emsmdbp_folder_get_recursive_folder_count(struct emsmdbp_context *, struct emsmdbp_object *, uint32_t *)
Definition: emsmdbp_object.c:1270
void ** emsmdbp_object_get_properties(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, struct SPropTagArray *, enum MAPISTATUS **)
Definition: emsmdbp_object.c:3035
uint8_t R2
Definition: dcesrv_exchange_nsp.h:87
bool recover_mode
Definition: dcesrv_exchange_emsmdb.h:82
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopRelease(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *request, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:274
uint16_t libmapiserver_RopGetStreamSize_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:268
static struct mapi_response * EcDoRpc_process_transaction(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct mapi_request *mapi_request)
Definition: dcesrv_exchange_emsmdb.c:284
NTSTATUS samba_init_module(void)
Definition: dcesrv_exchange_nsp.c:1598
uint16_t libmapiserver_RopFindRow_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:170
bool mpm_session_set_private_data(struct mpm_session *session, void *private_data)
Definition: dcesrv_mapiproxy_session.c:131
DATA_BLOB lm_session_key
Definition: libmapiproxy.h:89
enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamBegin(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2553
NTSTATUS mpm_cache_stream_reset(struct mpm_stream *)
Definition: mpm_cache_stream.c:194
struct ldb_context * samdb_connect(TALLOC_CTX *, struct tevent_context *, struct loadparm_context *, struct auth_session_info *, unsigned int)
enum MAPISTATUS dcesrv_NspiResortRestriction(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResortRestriction *r)
Definition: dcesrv_mapiproxy_unused.c:505
enum MAPISTATUS dcesrv_EcRRegisterPushNotification(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRRegisterPushNotification *r)
Definition: dcesrv_mapiproxy_unused.c:698
enum MAPISTATUS openchangedb_set_mapistoreURI(struct openchangedb_context *, const char *, uint64_t, const char *)
Definition: openchangedb.c:272
enum MAPISTATUS emsmdbp_folder_get_folder_count(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *folder, uint32_t *row_countp)
Definition: emsmdbp_object.c:1228
_PUBLIC_ uint16_t libmapiserver_RopModifyRules_size(void)
Definition: libmapiserver_oxorule.c:48
bool emsmdbp_verify_user(struct dcesrv_call_state *, struct emsmdbp_context *)
Definition: emsmdbp.c:256
enum MAPISTATUS openchangedb_get_system_idx(struct openchangedb_context *, const char *, uint64_t, int *)
Definition: openchangedb.c:954
char * owner_username
Definition: dcesrv_exchange_emsmdb.h:126
void dcesrv_dra_replica_synchronize(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_replica_synchronize *)
Definition: dcesrv_mapiproxy_unused.c:322
struct idset * cnset_seen_fai
Definition: dcesrv_exchange_emsmdb.h:189
enum MAPISTATUS emsmdbp_folder_get_recursive_folder_count(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *folder, uint32_t *row_countp)
Definition: emsmdbp_object.c:1270
uint16_t libmapiserver_RopModifyRecipients_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:139
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamContinue(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2630
NTSTATUS dcerpc_server_exchange_xds_init(void)
uint32_t MId
Definition: dcesrv_exchange_nsp.h:92
uint32_t ref_count
Definition: libmapiproxy.h:74
void * backend_object
Definition: dcesrv_exchange_emsmdb.h:237
_PUBLIC_ enum MAPISTATUS openchangedb_table_set_restrictions(struct openchangedb_context *self, void *table_object, struct mapi_SRestriction *res)
Definition: openchangedb_table.c:83
_PUBLIC_ enum MAPISTATUS emsabp_EphemeralEntryID_to_Binary_r(TALLOC_CTX *mem_ctx, struct EphemeralEntryID *ephEntryID, struct Binary_r *bin)
Definition: emsabp.c:331
uint16_t libmapiserver_RopWriteStream_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:233
uint16_t libmapiserver_RopDeleteFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:136
_PUBLIC_ int emsmdbp_object_get_available_properties(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray **propertiesp)
Definition: emsmdbp_object.c:2630
enum MAPISTATUS EcDoRpc_RopLogon(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:200
static enum MAPISTATUS get_new_public_folder_id(struct emsmdbp_context *emsmdbp_ctx, uint64_t parent_fid, uint64_t *fid)
Definition: emsmdbp_provisioning.c:68
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesList(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:314
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopModifyRecipients(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:843
enum MAPISTATUS EcDoRpc_RopLongTermIdFromId(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:691
NTSTATUS mapiproxy_module_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: dcesrv_mapiproxy_module.c:89
_PUBLIC_ void emsmdbp_fill_row_blob(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint8_t *layout, DATA_BLOB *property_row, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals, bool *untyped_status)
Definition: emsmdbp_object.c:3332
struct emsmdbp_object_mailbox * mailbox
Definition: dcesrv_exchange_emsmdb.h:221
struct ldb_context * samdb_ctx
Definition: dcesrv_exchange_emsmdb.h:55
void dcesrv_dra_set_status(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_set_status *)
Definition: dcesrv_mapiproxy_unused.c:372
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_message_open_attachment_table(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *message_object)
Definition: emsmdbp_object.c:2500
_PUBLIC_ uint16_t libmapiserver_RopRemoveAllRecipients_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:125
static uint32_t cache_find_call_request_index(uint8_t opnum, struct EcDoRpc_MAPI_REQ *mapi_req)
Definition: mpm_cache.c:53
Definition: dcesrv_exchange_emsmdb.h:121
_PUBLIC_ enum MAPISTATUS emsabp_get_account_info(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, const char *username, struct ldb_message **ldb_msg)
Definition: emsabp.c:166
_PUBLIC_ uint16_t libmapiserver_RopSaveChangesMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:103
uint16_t libmapiserver_RopSyncImportDeletes_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:131
_PUBLIC_ void * mapiproxy_server_openchangedb_init(struct loadparm_context *lp_ctx)
Definition: dcesrv_mapiproxy_server.c:335
struct emsmdbp_object * emsmdbp_object_message_init(TALLOC_CTX *, struct emsmdbp_context *, uint64_t, struct emsmdbp_object *)
Definition: emsmdbp_object.c:2226
NTSTATUS samba_init_module(void)
Definition: dcesrv_exchange_ds_rfr.c:202
_PUBLIC_ uint16_t libmapiserver_RopSyncImportDeletes_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:131
#define MPM_DB
Definition: mpm_cache.h:117
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetSpooler(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:253
void dcesrv_dra_delete_subref(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_delete_subref *)
Definition: dcesrv_mapiproxy_unused.c:392
enum MAPISTATUS EcDoRpc_RopSetLocalReplicaMidsetDeleted(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:3645
uint16_t libmapiserver_RopOpenFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:38
_PUBLIC_ enum MAPISTATUS openchangedb_transaction_start(struct openchangedb_context *oc_ctx)
Definition: openchangedb.c:966
enum MAPISTATUS emsmdbp_fetch_organizational_units(TALLOC_CTX *, struct emsmdbp_context *, char **, char **)
Definition: emsmdbp.c:594
bool read_write
Definition: dcesrv_exchange_emsmdb.h:139
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopModifyPermissions(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcperm.c:136
#define SIZE_DFLT_ROPOPENMESSAGE
Definition: libmapiserver.h:66
uint16_t libmapiserver_RopModifyRules_size(void)
Definition: libmapiserver_oxorule.c:48
enum MAPISTATUS mapi_handles_search(struct mapi_handles_context *, uint32_t, struct mapi_handles **)
Definition: mapi_handles.c:90
uint16_t libmapiserver_RopSaveChangesMessage_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:103
uint16_t libmapiserver_RopCreateFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:105
_PUBLIC_ enum MAPISTATUS openchangedb_get_mapistoreURI(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, char **mapistoreURL, bool mailboxstore)
Definition: openchangedb.c:247
@ EMSMDBP_SENT_ITEMS
Definition: dcesrv_exchange_emsmdb.h:264
#define DCESRV_NSP_RETURN_IF(x, r, c, ctx)
Definition: dcesrv_exchange_nsp.h:109
_PUBLIC_ enum MAPISTATUS emsabp_ab_container_enum(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, uint32_t ContainerID, struct ldb_result **ldb_resp)
Definition: emsabp.c:1413
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncImportHierarchyChange(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2274
enum MAPISTATUS EcDoRpc_RopWriteStream(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:770
enum MAPISTATUS openchangedb_get_table_property(TALLOC_CTX *, struct openchangedb_context *, const char *, uint32_t, uint32_t, void **)
FIXME Not used anywhere, remove it? see mapiproxy/servers/default/emsmdb/emsmdbp_object....
Definition: openchangedb.c:694
static char * x500_get_servername(const char *dn)
Definition: dcesrv_mapiproxy_nspi.c:40
static uint32_t oxcfxics_advance_cutmarks(struct emsmdbp_object_synccontext *synccontext, uint32_t request_buffer_size)
Definition: oxcfxics.c:1654
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncConfigure(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:1894
static NTSTATUS cache_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_cache.c:893
enum MAPISTATUS emsabp_search_legacyExchangeDN(struct emsabp_context *, const char *, struct ldb_message **, bool *)
Definition: emsabp.c:1313
uint16_t libmapiserver_RopSetStreamSize_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:308
_PUBLIC_ enum MAPISTATUS openchangedb_get_ReceiveFolderTable(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, const char *recipient, uint32_t *cValues, struct ReceiveFolder **entries)
Definition: openchangedb.c:422
NTSTATUS(* dispatch)(struct dcesrv_call_state *, TALLOC_CTX *, void *, struct mapiproxy *)
Definition: libmapiproxy.h:59
Definition: libmapiproxy.h:71
bool order_by_delivery_time
Definition: dcesrv_exchange_emsmdb.h:103
enum MAPISTATUS EcDoRpc_RopEmptyFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:870
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSortTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:143
_PUBLIC_ enum MAPISTATUS emsabp_search_legacyExchangeDN(struct emsabp_context *emsabp_ctx, const char *legacyDN, struct ldb_message **ldb_res, bool *pbUseConfPartition)
Definition: emsabp.c:1313
void dcesrv_EcGetMoreRpc(struct dcesrv_call_state *, TALLOC_CTX *, struct EcGetMoreRpc *)
Definition: dcesrv_mapiproxy_unused.c:688
#define __BEGIN_DECLS
Definition: libmapiproxy.h:156
void dcesrv_ds_bind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_bind *r)
Definition: dcesrv_mapiproxy_unused.c:192
Definition: dcesrv_exchange_emsmdb.h:220
uint16_t libmapiserver_RopLogon_size(struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:39
uint8_t R3
Definition: dcesrv_exchange_nsp.h:73
bool mapiproxy_RfrGetNewDSA(struct dcesrv_call_state *dce_call, struct RfrGetNewDSA *r)
Definition: dcesrv_mapiproxy_rfr.c:38
_PUBLIC_ enum MAPISTATUS openchangedb_table_set_sort_order(struct openchangedb_context *self, void *table_object, struct SSortOrderSet *lpSortCriteria)
Definition: openchangedb_table.c:71
@ EMSMDBP_TOP_INFORMATION_STORE
Definition: dcesrv_exchange_emsmdb.h:261
_PUBLIC_ enum MAPISTATUS openchangedb_message_set_properties(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, void *message_object, struct SRow *row)
Definition: openchangedb_message.c:150
enum MAPISTATUS dcesrv_EcDoConnect(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoConnect *r)
Definition: dcesrv_mapiproxy_unused.c:658
void dcesrv_ds_modify_rdn(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_modify_rdn *)
Definition: dcesrv_mapiproxy_unused.c:232
TDB_CONTEXT * mapiproxy_server_emsabp_tdb_init(struct loadparm_context *)
Definition: dcesrv_mapiproxy_server.c:297
void dcesrv_ds_abandon(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_abandon *)
Definition: dcesrv_mapiproxy_unused.c:172
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenEmbeddedMessage(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1547
#define __END_DECLS
Definition: dcesrv_exchange_nsp.h:39
NTSTATUS mapiproxy_module_dispatch(struct dcesrv_call_state *, TALLOC_CTX *, void *, struct mapiproxy *)
Definition: dcesrv_mapiproxy_module.c:113
enum MAPISTATUS EcDoRpc_RopGetPropertyIdsFromNames(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:1134
_PUBLIC_ void openchange_abort(bool is_fatal)
Definition: fault_util.c:74
enum MAPISTATUS EcDoRpc_RopSyncConfigure(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:1894
static const size_t max_message_sync_size
Definition: oxcfxics.c:36
static int emsabp_tdb_traverse_MId(TDB_CONTEXT *tdb_ctx, TDB_DATA key, TDB_DATA dbuf, void *state)
Definition: emsabp_tdb.c:224
_PUBLIC_ uint16_t libmapiserver_RopCommitStream_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:254
_PUBLIC_ enum MAPISTATUS emsmdbp_fetch_organizational_units(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, char **organization_name, char **group_name)
Definition: emsmdbp.c:594
static void dcesrv_NspiDNToMId(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiDNToMId *r)
Definition: dcesrv_exchange_nsp.c:846
NTSTATUS dcerpc_server_exchange_store_admin2_init(void)
struct emsmdbp_object_synccontext * synccontext
Definition: dcesrv_exchange_emsmdb.h:228
_PUBLIC_ uint16_t libmapiserver_RopDeleteMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:157
enum MAPISTATUS openchangedb_set_folder_properties(struct openchangedb_context *, const char *, uint64_t, struct SRow *)
Definition: openchangedb.c:669
void dcesrv_MtaBindAck(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct MtaBindAck *r)
Definition: dcesrv_mapiproxy_unused.c:159
static void dcesrv_NspiBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiBind *r)
Definition: dcesrv_exchange_nsp.c:101
uint16_t libmapiserver_RopGetRulesTable_size(void)
Definition: libmapiserver_oxorule.c:35
enum MAPISTATUS emsabp_search(TALLOC_CTX *, struct emsabp_context *, struct PropertyTagArray_r *, struct Restriction_r *, struct STAT *, uint32_t)
Definition: emsabp.c:1126
const struct ndr_interface_table * ndr_table_by_name(const char *)
#define SAMBA_INIT_MODULE
Definition: modules.c:27
enum MAPISTATUS mapi_handles_get_private_data(struct mapi_handles *, void **)
Definition: mapi_handles.c:364
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopFastTransferSourceGetBuffer(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:1805
uint64_t folderID
Definition: dcesrv_exchange_emsmdb.h:131
static enum MAPISTATUS dcesrv_EcDoConnectEx(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoConnectEx *r)
Definition: dcesrv_exchange_emsmdb.c:1187
enum MAPISTATUS dcesrv_NspiResolveNames(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResolveNames *r)
Definition: dcesrv_mapiproxy_unused.c:635
#define SIZE_DFLT_ROPIDFROMLONGTERMID
Definition: libmapiserver.h:370
#define SIZE_DFLT_ROPOPTIONSDATA
Definition: libmapiserver.h:280
const char * name
Definition: libmapiproxy.h:52
_PUBLIC_ uint16_t libmapiserver_RopSyncGetTransferState_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:251
Definition: dcesrv_exchange_emsmdb.h:47
bool mpm_session_release(struct mpm_session *)
Definition: dcesrv_mapiproxy_session.c:149
_PUBLIC_ NTSTATUS mapiproxy_module_init(struct dcesrv_context *dce_ctx)
Definition: dcesrv_mapiproxy_module.c:208
bool no_foreign_identifiers
Definition: dcesrv_exchange_emsmdb.h:87
uint16_t libmapiserver_RopSyncOpenCollector_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:204
void ** emsmdbp_object_table_get_row_props(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, uint32_t, enum mapistore_query_type, enum MAPISTATUS **)
Definition: emsmdbp_object.c:1850
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSetReceiveFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:441
_PUBLIC_ uint16_t libmapiserver_RopSyncUploadStateStreamEnd_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:170
uint16_t bad_password_count
Definition: libmapiproxy.h:109
bool mapiproxy_RfrGetNewDSA(struct dcesrv_call_state *, struct RfrGetNewDSA *)
Definition: dcesrv_mapiproxy_rfr.c:38
#define SIZE_DFLT_ROPREADPERUSERINFORMATION
Definition: libmapiserver.h:383
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetSearchCriteria(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:741
DATA_BLOB data
Definition: dcesrv_exchange_emsmdb.h:164
enum MAPISTATUS dcesrv_NspiCompareMIds(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiCompareMIds *r)
Definition: dcesrv_mapiproxy_unused.c:545
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncUploadStateStreamEnd(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:2742
uint16_t libmapiserver_RopOpenMessage_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:38
_PUBLIC_ enum MAPISTATUS openchangedb_table_get_property(TALLOC_CTX *mem_ctx, struct openchangedb_context *self, void *table_object, enum MAPITAGS proptag, uint32_t pos, bool live_filtered, void **data)
Definition: openchangedb_table.c:94
enum MAPISTATUS EcDoRpc_RopGetReceiveFolderTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:646
enum MAPISTATUS dcesrv_NspiDeleteEntries(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiDeleteEntries *)
Definition: dcesrv_mapiproxy_unused.c:595
@ EMSMDBP_MAX_MAILBOX_SYSTEMIDX
Definition: dcesrv_exchange_emsmdb.h:267
_PUBLIC_ enum MAPISTATUS openchangedb_get_system_idx(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, int *system_idx_p)
Definition: openchangedb.c:954
static enum MAPISTATUS oxcmsg_resolve_partial_x500name(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint8_t prefix_size, const char *x500name, char **username_p)
Definition: oxcmsg.c:696
_PUBLIC_ enum MAPISTATUS openchangedb_message_create(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, const char *username, uint64_t messageID, uint64_t folderID, bool fai, void **message_object)
Definition: openchangedb_message.c:53
NTSTATUS mpm_cache_stream_write(struct mpm_stream *, uint16_t, uint8_t *)
Definition: mpm_cache_stream.c:170
_PUBLIC_ enum MAPISTATUS openchangedb_get_message_count(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, uint32_t *RowCount, bool fai)
Definition: openchangedb.c:931
NTSTATUS mpm_cache_stream_write(struct mpm_stream *stream, uint16_t length, uint8_t *data)
Definition: mpm_cache_stream.c:170
_PUBLIC_ uint16_t libmapiserver_RopOpenAttach_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:253
#define SIZE_DFLT_ROPGETPROPERTIESLIST
Definition: libmapiserver.h:102
enum MAPITAGS prop_tag
Definition: dcesrv_exchange_emsmdb.h:163
#define SIZE_DFLT_ROPGETPROPERTIESALL
Definition: libmapiserver.h:96
@ EMSMDBP_OBJECT_TABLE
Definition: dcesrv_exchange_emsmdb.h:113
enum MAPISTATUS EcDoRpc_RopModifyRecipients(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:843
_PUBLIC_ enum MAPISTATUS openchangedb_get_new_changeNumbers(struct openchangedb_context *oc_ctx, TALLOC_CTX *mem_ctx, const char *username, uint64_t max, struct UI8Array_r **cns_p)
Definition: openchangedb.c:600
enum MAPISTATUS dcesrv_EcDoAsyncConnectEx(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoAsyncConnectEx *r)
Definition: dcesrv_mapiproxy_unused.c:793
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_object)
Definition: emsmdbp_object.c:801
static NTSTATUS dummy_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: mpm_dummy.c:67
NTSTATUS samba_init_module(void)
Definition: mpm_pack.c:340
#define SIZE_DFLT_ROPWRITESTREAM
Definition: libmapiserver.h:235
static NTSTATUS mapiproxy_op_bind(struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface, uint32_t if_version)
Definition: dcesrv_mapiproxy.c:223
NTSTATUS mpm_cache_ldb_add_message(TALLOC_CTX *, struct ldb_context *, struct mpm_message *)
Definition: mpm_cache_ldb.c:120
const char * description
Definition: libmapiproxy.h:53
#define SIZE_DFLT_ROPSETPROPERTIES
Definition: libmapiserver.h:108
_PUBLIC_ uint16_t libmapiserver_RopSetSpooler_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:53
uint16_t libmapiserver_RopSetColumns_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:38
struct SPropTagArray fai_properties
Definition: dcesrv_exchange_emsmdb.h:193
uint32_t R4
Definition: dcesrv_exchange_nsp.h:75
_PUBLIC_ enum MAPISTATUS openchangedb_message_open(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, const char *username, uint64_t messageID, uint64_t folderID, void **message_object, void **msgp)
Definition: openchangedb_message.c:101
const char ** emsmdbp_get_special_folders(TALLOC_CTX *, struct emsmdbp_context *)
Definition: emsmdbp_provisioning_names.c:84
uint16_t libmapiserver_RopGetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:193
void dcesrv_ec_store_admin1_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct ec_store_admin1_dummy *)
Definition: dcesrv_mapiproxy_unused.c:86
uint32_t DisplayType
Definition: dcesrv_exchange_nsp.h:91
NTSTATUS dcerpc_server_exchange_system_attendant_init(void)
struct mpm_message * messages
Definition: mpm_cache.h:84
enum MAPISTATUS openchangedb_get_ReceiveFolder(TALLOC_CTX *, struct openchangedb_context *, const char *, const char *, uint64_t *, const char **)
Definition: openchangedb.c:389
struct mapistore_context * mstore_ctx
Definition: dcesrv_exchange_emsmdb.h:56
_PUBLIC_ int emsmdbp_get_fid_from_uri(struct emsmdbp_context *emsmdbp_ctx, const char *uri, uint64_t *fidp)
Definition: emsmdbp_object.c:518
enum MAPISTATUS dcesrv_RfrGetFQDNFromLegacyDN(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetFQDNFromLegacyDN *r)
Definition: dcesrv_mapiproxy_unused.c:110
bool emsabp_tdb_lookup_MId(TDB_CONTEXT *, uint32_t)
Definition: emsabp_tdb.c:256
enum MAPISTATUS EcDoRpc_RopGetAttachmentTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1223
void dcesrv_EcUnknown0xC(struct dcesrv_call_state *, TALLOC_CTX *, struct EcUnknown0xC *)
Definition: dcesrv_mapiproxy_unused.c:775
static bool clientVersionIsTooLow(const uint16_t rgwClientVersion[3])
Definition: dcesrv_exchange_emsmdb.c:1169
NTSTATUS mapiproxy_module_unbind(struct server_id server_id, uint32_t context_id)
Definition: dcesrv_mapiproxy_module.c:138
_PUBLIC_ bool emsabp_verify_user(struct dcesrv_call_state *dce_call, struct emsabp_context *emsabp_ctx)
Definition: emsabp.c:212
enum MAPISTATUS openchangedb_message_set_properties(TALLOC_CTX *, struct openchangedb_context *, void *, struct SRow *)
Definition: openchangedb_message.c:150
enum MAPISTATUS emsmdbp_object_table_get_recursive_row_props(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, DATA_BLOB *, struct SPropTagArray *, uint64_t, int64_t *, uint32_t *)
Definition: emsmdbp_object.c:2082
_PUBLIC_ uint32_t emsmdbp_get_contextID(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:150
uint16_t libmapiserver_RopGetStoreState_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:212
__BEGIN_DECLS NTSTATUS dcerpc_server_mapiproxy_init(void)
Definition: dcesrv_mapiproxy.c:701
#define MAILBOX_ROOT_NAME
Definition: emsmdbp_provisioning.c:38
static struct ldb_context * samdb_init(struct loadparm_context *lp_ctx)
Definition: emsabp.c:50
static TDB_CONTEXT * emsabp_tdb_ctx
Definition: dcesrv_exchange_nsp.c:33
void dcesrv_EcRNetGetDCName(struct dcesrv_call_state *, TALLOC_CTX *, struct EcRNetGetDCName *)
Definition: dcesrv_mapiproxy_unused.c:738
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeleteMessages(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:605
_PUBLIC_ int libmapiserver_push_property(TALLOC_CTX *mem_ctx, uint32_t property, const void *value, DATA_BLOB *blob, uint8_t layout, uint8_t flagged, uint8_t untyped)
Definition: libmapiserver_oxcprpt.c:408
uint16_t libmapiserver_RopGetMessageStatus_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:219
#define SIZE_DFLT_ROPGETADDRESSTYPES
Definition: libmapiserver.h:260
_PUBLIC_ enum MAPISTATUS openchangedb_get_new_public_folderID(struct openchangedb_context *oc_ctx, const char *username, uint64_t *fid)
Definition: openchangedb.c:990
_PUBLIC_ uint16_t libmapiserver_RopFindRow_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:170
_PUBLIC_ bool openchangedb_set_locale(struct openchangedb_context *oc_ctx, const char *username, uint32_t lcid)
Definition: openchangedb.c:1063
bool mpm_session_set_private_data(struct mpm_session *, void *)
Definition: dcesrv_mapiproxy_session.c:131
enum MAPISTATUS openchangedb_get_indexing_url(struct openchangedb_context *, const char *, const char **)
Definition: openchangedb.c:1030
static bool oxcfxics_push_messageChange(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object_synccontext *synccontext, const char *owner, struct oxcfxics_sync_data *sync_data, struct emsmdbp_object *folder_object)
Definition: oxcfxics.c:790
#define SIZE_DFLT_ROPCOPYFOLDER
Definition: libmapiserver.h:332
uint16_t libmapiserver_RopOptionsData_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:136
void dcesrv_ds_read(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_read *)
Definition: dcesrv_mapiproxy_unused.c:242
const struct GUID * samdb_ntds_objectGUID(struct ldb_context *)
enum MAPISTATUS dcesrv_NspiUnbind(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiUnbind *)
Definition: dcesrv_mapiproxy_unused.c:455
enum MAPISTATUS EcDoRpc_RopSyncImportDeletes(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:2435
_PUBLIC_ enum MAPISTATUS openchangedb_get_indexing_url(struct openchangedb_context *oc_ctx, const char *username, const char **indexing_url)
Definition: openchangedb.c:1030
static struct exchange_nsp_session * nsp_session
Definition: dcesrv_exchange_nsp.c:32
_PUBLIC_ struct emsmdbp_context * emsmdbp_init(struct loadparm_context *lp_ctx, const char *username, void *oc_ctx)
Definition: emsmdbp.c:134
Definition: libmapiproxy.h:126
char * filename
Definition: mpm_cache.h:70
DATA_BLOB emsmdbp_stream_read_buffer(struct emsmdbp_stream *, uint32_t)
Definition: emsmdbp_object.c:3407
bool mpm_session_cmp(struct mpm_session *session, struct dcesrv_call_state *dce_call)
Definition: dcesrv_mapiproxy_session.c:206
static NTSTATUS dcesrv_exchange_ds_rfr_init(struct dcesrv_context *dce_ctx)
Definition: dcesrv_exchange_ds_rfr.c:176
uint32_t * cutmarks
Definition: dcesrv_exchange_emsmdb.h:207
void dcesrv_dra_unauthorize_replica(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_unauthorize_replica *)
Definition: dcesrv_mapiproxy_unused.c:352
enum MAPISTATUS openchangedb_get_fid_by_name(struct openchangedb_context *, const char *, uint64_t, const char *, uint64_t *)
Definition: openchangedb.c:724
struct cli_credentials * credentials
Definition: dcesrv_mapiproxy.h:52
uint16_t libmapiserver_RopSetColumns_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:38
static enum MAPISTATUS emsmdbp_get_parent_fid(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *mailbox_object, uint64_t fid, uint64_t *parent_fidp)
Definition: emsmdbp_object.c:556
#define SIZE_DFLT_ROPEMPTYFOLDER
Definition: libmapiserver.h:311
enum MAPISTATUS dcesrv_NspiGetPropList(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetPropList *)
Definition: dcesrv_mapiproxy_unused.c:525
_PUBLIC_ uint16_t libmapiserver_RopSetStreamSize_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:308
NTSTATUS mapiproxy_server_unbind(struct server_id, uint32_t)
void dcesrv_dra_reference_update(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_reference_update *)
Definition: dcesrv_mapiproxy_unused.c:332
mapiproxy_status
Definition: libmapiproxy.h:44
enum MAPISTATUS emsabp_tdb_fetch_dn_from_MId(TALLOC_CTX *, TDB_CONTEXT *, uint32_t, char **)
Definition: emsabp_tdb.c:303
uint16_t libmapiserver_RopGetPermissionsTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcperm.c:38
static void dcesrv_NspiModProps(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiModProps *r)
Definition: dcesrv_exchange_nsp.c:1029
static enum MAPISTATUS dcesrv_EcDoConnect(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoConnect *r)
Definition: dcesrv_exchange_emsmdb.c:78
static void mapiproxy_op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
Definition: dcesrv_mapiproxy.c:276
enum MAPISTATUS openchangedb_set_ReceiveFolder(struct openchangedb_context *, const char *, const char *, uint64_t)
Definition: openchangedb.c:795
static int emsmdbp_mapi_handles_destructor(void *data)
Definition: emsmdbp.c:112
_PUBLIC_ char * openchangedb_set_folder_property_data(TALLOC_CTX *mem_ctx, struct SPropValue *value)
Definition: openchangedb.c:507
enum MAPISTATUS EcDoRpc_RopSetSpooler(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:253
bool mpm_session_increment_ref_count(struct mpm_session *session)
Definition: dcesrv_mapiproxy_session.c:71
static NTSTATUS downgrade_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: mpm_downgrade.c:100
uint16_t prop_count
Definition: dcesrv_exchange_emsmdb.h:147
static bool fid_in_entry_id(struct Binary_r *checked_entry_id, uint64_t parent_fid, struct FolderEntryId *entry_id, uint64_t entry_id_fid)
Definition: oxosfld.c:32
NTSTATUS dcerpc_server_exchange_mta_qadmin_init(void)
_PUBLIC_ const char ** openchangedb_get_folders_names(TALLOC_CTX *mem_ctx, struct openchangedb_context *oc_ctx, const char *locale, const char *type)
Definition: openchangedb.c:1085
_PUBLIC_ uint16_t libmapiserver_RopSetLocalReplicaMidsetDeleted_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:264
const char * domain_name
Definition: libmapiproxy.h:92
struct mapi_handles_context * mapi_handles_init(TALLOC_CTX *)
Definition: mapi_handles.c:40
struct emsmdbp_object_subscription * subscription
Definition: dcesrv_exchange_emsmdb.h:227
struct emsmdbp_stream_data * next
Definition: dcesrv_exchange_emsmdb.h:165
enum MAPISTATUS openchangedb_get_new_changeNumber(struct openchangedb_context *, const char *, uint64_t *)
Definition: openchangedb.c:579
static enum MAPISTATUS dcesrv_EcDoRpcExt2(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpcExt2 *r)
Definition: dcesrv_exchange_emsmdb.c:1377
EphemeralEntryID structure.
Definition: dcesrv_exchange_nsp.h:84
bool openchangedb_set_locale(struct openchangedb_context *, const char *, uint32_t)
Definition: openchangedb.c:1063
struct idset * cnset_seen
Definition: dcesrv_exchange_emsmdb.h:188
#define EMSABP_ADDRTYPE
Definition: dcesrv_exchange_nsp.h:96
enum MAPISTATUS dcesrv_NspiResolveNames(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiResolveNames *)
Definition: dcesrv_mapiproxy_unused.c:635
void dcesrv_EcUnknown0xD(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcUnknown0xD *r)
Definition: dcesrv_mapiproxy_unused.c:784
bool emsmdbp_is_mapistore(struct emsmdbp_object *)
Definition: emsmdbp_object.c:78
@ EMSMDBP_PF_FREEBUSY
Definition: dcesrv_exchange_emsmdb.h:275
static NTSTATUS cache_pull_OpenMessage(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct OpenMessage_req request)
Definition: mpm_cache.c:372
_PUBLIC_ uint16_t libmapiserver_RopGetPerUserLongTermIds_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:142
struct emsmdbp_object * emsmdbp_object_mailbox_init(TALLOC_CTX *, struct emsmdbp_context *, const char *, bool)
Definition: emsmdbp_object.c:1124
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopReadStream(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:689
void dcesrv_EcGetMoreRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcGetMoreRpc *r)
Definition: dcesrv_mapiproxy_unused.c:688
struct mpm_session * session
Definition: dcesrv_exchange_nsp.h:55
bool emsmdbp_is_mailboxstore(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:119
static void oxcfxics_fill_synccontext_with_messageChange(struct emsmdbp_object_synccontext *synccontext, TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, const char *owner, struct emsmdbp_object *parent_object)
Definition: oxcfxics.c:1154
struct mapiproxy_module_list * prev
Definition: libmapiproxy.h:66
_PUBLIC_ enum MAPISTATUS openchangedb_get_users_from_partial_uri(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, const char *partialURI, uint32_t *count, char ***MAPIStoreURI, char ***users)
FIXME broken? mailboxDN not saved?
Definition: openchangedb.c:841
uint16_t libmapiserver_RopTransportSend_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:89
void emsmdbp_stream_write_buffer(TALLOC_CTX *, struct emsmdbp_stream *, DATA_BLOB)
Definition: emsmdbp_object.c:3423
bool mapiproxy_NspiDNToMId(struct dcesrv_call_state *dce_call, struct NspiDNToMId *r)
Definition: dcesrv_mapiproxy_nspi.c:191
#define SIZE_DFLT_ROPGETTRANSPORTFOLDER
Definition: libmapiserver.h:272
@ EMSMDBP_PF_LOCALEFORMS
Definition: dcesrv_exchange_emsmdb.h:277
Definition: dcesrv_exchange_emsmdb.h:143
_PUBLIC_ enum MAPISTATUS openchangedb_set_ReceiveFolder(struct openchangedb_context *oc_ctx, const char *recipient, const char *MessageClass, uint64_t fid)
Definition: openchangedb.c:795
NTSTATUS mpm_cache_stream_close(struct mpm_stream *stream)
Definition: mpm_cache_stream.c:126
_PUBLIC_ const char * emsabp_property_get_ref_attr(uint32_t ulPropTag)
Definition: emsabp_property.c:179
struct SRow * postponed_props
Definition: dcesrv_exchange_emsmdb.h:134
static const int message_properties_shift
Definition: oxcfxics.c:151
void dcesrv_ec_store_admin3_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct ec_store_admin3_dummy *)
Definition: dcesrv_mapiproxy_unused.c:58
#define __BEGIN_DECLS
Definition: dcesrv_mapiproxy_proto.h:30
enum MAPISTATUS dcesrv_NspiQueryRows(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiQueryRows *)
Definition: dcesrv_mapiproxy_unused.c:475
#define MAPI_HANDLES_NULL
Definition: libmapiproxy.h:135
_PUBLIC_ enum MAPISTATUS emsabp_fetch_attrs_from_msg(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, struct PropertyRow_r *aRow, struct ldb_message *ldb_msg, uint32_t MId, uint32_t dwFlags, struct SPropTagArray *pPropTags)
Definition: emsabp.c:657
uint16_t libmapiserver_RopSyncConfigure_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:76
const char * full_name
Definition: libmapiproxy.h:94
static NTSTATUS mapiproxy_module_load(struct dcesrv_context *dce_ctx)
Definition: dcesrv_mapiproxy_module.c:174
NTSTATUS dcerpc_server_exchange_unknown_init(void)
void dcesrv_EcUnknown0xD(struct dcesrv_call_state *, TALLOC_CTX *, struct EcUnknown0xD *)
Definition: dcesrv_mapiproxy_unused.c:784
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopRemoveAllRecipients(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:624
enum MAPISTATUS openchangedb_get_next_changeNumber(struct openchangedb_context *, const char *, uint64_t *)
Definition: openchangedb.c:623
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopQueryPosition(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:576
_PUBLIC_ uint16_t libmapiserver_RopNotify_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcnotif.c:46
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopFindRow(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:758
_PUBLIC_ uint16_t libmapiserver_RopCreateAttach_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:265
static NTSTATUS dcesrv_exchange_nsp_unbind(struct server_id server_id, uint32_t context_id)
Definition: dcesrv_exchange_nsp.c:1586
struct ldb_context * ldb_ctx
Definition: mpm_cache.h:83
enum MAPISTATUS EcDoRpc_RopGetStoreState(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:1020
struct GUID uuid
Definition: dcesrv_exchange_nsp.h:56
struct mapi_handles_context * handles_ctx
Definition: dcesrv_exchange_emsmdb.h:57
uint16_t libmapiserver_RopMoveFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:257
void dcesrv_ds_unbind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_unbind *r)
Definition: dcesrv_mapiproxy_unused.c:282
#define SIZE_DFLT_ROPGETPERUSERLONGTERMIDS
Definition: libmapiserver.h:376
static NTSTATUS dummy_unbind(struct server_id server_id, uint32_t context_id)
Definition: mpm_dummy.c:43
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenAttach(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:1304
enum MAPISTATUS EcDoRpc_RopSetReceiveFolder(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:441
static NTSTATUS dcesrv_exchange_ds_rfr_unbind(struct server_id server_id, uint32_t context_id)
Definition: dcesrv_exchange_ds_rfr.c:190
enum MAPISTATUS dcesrv_NspiResolveNamesW(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResolveNamesW *r)
Definition: dcesrv_mapiproxy_unused.c:645
_PUBLIC_ enum MAPISTATUS emsabp_get_CreationTemplatesTable(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, uint32_t dwFlags, struct PropertyRowSet_r **SRowSet)
Definition: emsabp.c:1075
enum MAPISTATUS EcDoRpc_RopReloadCachedInformation(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:940
uint16_t libmapiserver_RopRegisterNotification_size(void)
Definition: libmapiserver_oxcnotif.c:36
uint64_t folderID
Definition: dcesrv_exchange_emsmdb.h:122
uint16_t libmapiserver_LongTermId_size(void)
Definition: libmapiserver_oxcdata.c:156
_PUBLIC_ enum MAPISTATUS openchangedb_get_SystemFolderID(struct openchangedb_context *oc_ctx, const char *recipient, uint32_t SystemIdx, uint64_t *FolderId)
Definition: openchangedb.c:115
enum MAPISTATUS openchangedb_table_set_sort_order(struct openchangedb_context *, void *, struct SSortOrderSet *)
Definition: openchangedb_table.c:71
static struct Binary_r * oxcfxics_make_gid(TALLOC_CTX *mem_ctx, struct GUID *replica_guid, uint64_t id)
Definition: oxcfxics.c:413
struct mpm_stream * prev
Definition: mpm_cache.h:76
char * owner_Name
Definition: dcesrv_exchange_emsmdb.h:123
_PUBLIC_ uint16_t libmapiserver_RopQueryRows_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxctabl.c:102
_PUBLIC_ uint16_t libmapiserver_RopGetReceiveFolderTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:232
_PUBLIC_ enum mapistore_error emsmdbp_object_get_fid_by_name(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *parent_folder, const char *name, uint64_t *fidp)
Definition: emsmdbp_object.c:171
_PUBLIC_ enum MAPISTATUS openchangedb_get_MAPIStoreURIs(struct openchangedb_context *oc_ctx, const char *username, TALLOC_CTX *mem_ctx, struct StringArrayW_r **urisP)
Definition: openchangedb.c:364
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSeekRow(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:649
Definition: dcesrv_exchange_emsmdb.h:169
static void _map_proptag_to_unicode_ansi(uint32_t ulPropTag, uint32_t *pAnsiPropTag, uint32_t *pUniPropTag)
/details Maps ulPropTag ot its PT_STRING8 and PT_UNICODE versions /param ulPropTag the proptag to map...
Definition: emsabp_property.c:74
TALLOC_CTX * mem_ctx
Definition: dcesrv_exchange_emsmdb.h:59
#define SIZE_DFLT_ROPREADSTREAM
Definition: libmapiserver.h:229
uint16_t libmapiserver_RecipientRow_size(struct RecipientRow)
Definition: libmapiserver_oxcdata.c:76
@ EMSMDBP_DEFERRED_ACTION
Definition: dcesrv_exchange_emsmdb.h:247
static void dcesrv_do_NspiQueryRows(TALLOC_CTX *mem_ctx, struct NspiQueryRows *r, struct emsabp_context *emsabp_ctx, struct PropertyTagArray_r *mids, bool updateStat)
Definition: dcesrv_exchange_nsp.c:403
unsigned int sent_objects
Definition: dcesrv_exchange_emsmdb.h:181
const char ** emsmdbp_get_folders_names(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
Definition: emsmdbp_provisioning_names.c:49
struct emsmdbp_stream_data * stream_data
Definition: dcesrv_exchange_emsmdb.h:238
#define __END_DECLS
Definition: libmapiproxy.h:157
bool fai
Definition: dcesrv_exchange_emsmdb.h:93
enum MAPISTATUS dcesrv_EcRUnregisterPushNotification(struct dcesrv_call_state *, TALLOC_CTX *, struct EcRUnregisterPushNotification *)
Definition: dcesrv_mapiproxy_unused.c:708
enum MAPISTATUS emsabp_table_fetch_attrs(TALLOC_CTX *, struct emsabp_context *, struct PropertyRow_r *, uint32_t, struct PermanentEntryID *, struct PermanentEntryID *, struct ldb_message *, bool)
Definition: emsabp.c:805
static enum MAPISTATUS emsabp_include_organization_restriction(struct emsabp_context *emsabp_ctx, const char *filter, char **expression)
Definition: emsabp.c:1092
_PUBLIC_ TDB_CONTEXT * emsabp_tdb_init_tmp(TALLOC_CTX *mem_ctx)
Definition: emsabp_tdb.c:96
struct FlatUID_r ProviderUID
Definition: dcesrv_exchange_nsp.h:74
static void dcesrv_NspiSeekEntries(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiSeekEntries *r)
Definition: dcesrv_exchange_nsp.c:608
void * private_data
Definition: libmapiproxy.h:76
#define SIZE_DFLT_ROPLOGON_REDIRECT
Definition: libmapiserver.h:426
_PUBLIC_ struct emsmdbp_object * emsmdbp_object_message_init(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint64_t messageID, struct emsmdbp_object *parent)
Definition: emsmdbp_object.c:2226
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetTransportFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:505
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSeekStream(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:982
Definition: dcesrv_exchange_emsmdb.h:137
void dcesrv_ds_modify_entry(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_modify_entry *)
Definition: dcesrv_mapiproxy_unused.c:222
static void oxcfxics_push_folderChange(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object_synccontext *synccontext, const char *owner, struct emsmdbp_object *topmost_folder_object, struct oxcfxics_sync_data *sync_data, struct emsmdbp_object *folder_object)
Definition: oxcfxics.c:1330
#define __BEGIN_DECLS
Definition: dcesrv_exchange_ds_rfr.h:32
void dcesrv_dra_replica_synchronize(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_replica_synchronize *r)
Definition: dcesrv_mapiproxy_unused.c:322
_PUBLIC_ uint16_t libmapiserver_RopGetAddressTypes_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:66
bool server_mode
Definition: dcesrv_mapiproxy.h:49
char * username
Definition: dcesrv_exchange_emsmdb.h:51
enum MAPISTATUS openchangedb_get_message_count(struct openchangedb_context *, const char *, uint64_t, uint32_t *, bool)
Definition: openchangedb.c:931
enum MAPISTATUS openchangedb_get_TransportFolder(struct openchangedb_context *, const char *, uint64_t *)
Definition: openchangedb.c:448
_PUBLIC_ bool oxosfld_is_special_folder(struct emsmdbp_context *emsmdbp_ctx, uint64_t fid)
Definition: oxosfld.c:69
uint16_t libmapiserver_RopSyncImportReadStateChanges_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:238
struct mapistore_freebusy_properties * fb_properties
Definition: dcesrv_exchange_emsmdb.h:140
enum MAPISTATUS openchangedb_get_fid(struct openchangedb_context *, const char *, uint64_t *)
Definition: openchangedb.c:343
enum MAPISTATUS EcDoRpc_RopOpenAttach(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcmsg.c:1304
static enum MAPISTATUS emsmdbp_object_message_fill_freebusy_properties(struct emsmdbp_object *message_object)
Definition: emsmdbp_object.c:2380
struct mpm_session * mpm_session_init(TALLOC_CTX *mem_ctx, struct dcesrv_call_state *dce_call)
Definition: dcesrv_mapiproxy_session.c:90
_PUBLIC_ enum MAPISTATUS openchangedb_get_MailboxGuid(struct openchangedb_context *oc_ctx, const char *recipient, struct GUID *MailboxGUID)
Definition: openchangedb.c:180
_PUBLIC_ enum MAPISTATUS openchangedb_get_ReceiveFolder(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, const char *recipient, const char *MessageClass, uint64_t *fid, const char **ExplicitMessageClass)
Definition: openchangedb.c:389
#define SIZE_DFLT_ROPDELETEPROPERTIES
Definition: libmapiserver.h:114
uint32_t * cutmarks
Definition: dcesrv_exchange_emsmdb.h:216
_PUBLIC_ enum MAPISTATUS emsabp_set_PermanentEntryID(struct emsabp_context *emsabp_ctx, uint32_t DisplayType, struct ldb_message *msg, struct PermanentEntryID *permEntryID)
Definition: emsabp.c:382
void dcesrv_ds_bind(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_bind *)
Definition: dcesrv_mapiproxy_unused.c:192
uint16_t libmapiserver_RopGetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:81
_PUBLIC_ enum MAPISTATUS openchangedb_transaction_commit(struct openchangedb_context *oc_ctx)
Definition: openchangedb.c:973
#define SIZE_DFLT_ROPTRANSPORTSEND
Definition: libmapiserver.h:266
NTSTATUS dcerpc_server_exchange_drs_init(void)
@ EMSMDBP_OBJECT_MESSAGE
Definition: dcesrv_exchange_emsmdb.h:112
static void dcesrv_EcGetMoreRpc(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcGetMoreRpc *r)
Definition: dcesrv_exchange_emsmdb.c:1019
size_t offset
Definition: mpm_cache.h:68
enum MAPISTATUS dcesrv_EcDoRpcExt2(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpcExt2 *r)
Definition: dcesrv_mapiproxy_unused.c:766
bool subscription
Definition: dcesrv_exchange_emsmdb.h:152
struct mpm_session * session
Definition: mpm_cache.h:63
uint8_t R1
Definition: dcesrv_exchange_nsp.h:71
_PUBLIC_ bool emsmdbp_destructor(void *data)
Definition: emsmdbp.c:232
#define SIZE_DFLT_ROPGETSEARCHCRITERIA
Definition: libmapiserver.h:356
void dcesrv_MtaBindAck(struct dcesrv_call_state *, TALLOC_CTX *, struct MtaBindAck *)
Definition: dcesrv_mapiproxy_unused.c:159
static NTSTATUS dcesrv_exchange_emsmdb_init(struct dcesrv_context *dce_ctx)
Definition: dcesrv_exchange_emsmdb.c:1700
#define SIZE_DFLT_ROPMOVEFOLDER
Definition: libmapiserver.h:325
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPerUserLongTermIds(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:883
_PUBLIC_ uint16_t libmapiserver_RopGetStoreState_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:212
bool openchangedb_is_public_folder_id(struct openchangedb_context *, uint64_t)
Definition: openchangedb.c:1010
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopReadPerUserInformation(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcstor.c:977
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetLocalReplicaIds(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:3095
enum MAPISTATUS emsmdbp_folder_get_folder_count(struct emsmdbp_context *, struct emsmdbp_object *, uint32_t *)
Definition: emsmdbp_object.c:1228
_PUBLIC_ enum mapistore_error emsmdbp_folder_delete_indexing_records(struct mapistore_context *mstore_ctx, uint32_t context_id, char *username, uint64_t fid, uint64_t *deleted_fmids, uint32_t deleted_fmids_count, uint8_t flags)
Definition: emsmdbp_object.c:1489
NTSTATUS(* openchange_plugin_init_fn)(void)
Definition: libmapiproxy.h:279
enum MAPISTATUS dcesrv_NspiBind(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiBind *)
Definition: dcesrv_mapiproxy_unused.c:445
#define SIZE_DFLT_ROPGETCONTENTSTABLE
Definition: libmapiserver.h:78
enum MAPISTATUS emsabp_get_CreationTemplatesTable(TALLOC_CTX *, struct emsabp_context *, uint32_t, struct PropertyRowSet_r **)
Definition: emsabp.c:1075
enum MAPISTATUS openchangedb_set_system_idx(struct openchangedb_context *, const char *, uint64_t, int)
Definition: openchangedb.c:294
NTSTATUS mpm_cache_stream_close(struct mpm_stream *)
Definition: mpm_cache_stream.c:126
NTSTATUS mapiproxy_server_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: dcesrv_mapiproxy_server.c:43
static int emsmdbp_copy_message_attachments_mapistore(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *source_object, struct emsmdbp_object *dest_object)
Definition: emsmdbp_object.c:971
static NTSTATUS cache_push_OpenMessage(struct dcesrv_call_state *dce_call, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc_MAPI_REPL mapi_repl, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:426
@ EMSMDBP_PF_LOCALFREEBUSY
Definition: dcesrv_exchange_emsmdb.h:278
static enum MAPISTATUS oxcfxics_fill_transfer_state_arrays(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object_synccontext *synccontext, const char *owner, struct oxcfxics_sync_data *sync_data, struct emsmdbp_object *folder_object)
Definition: oxcfxics.c:3325
#define PROVISIONING_FOLDERS_SIZE
Definition: dcesrv_exchange_emsmdb.h:291
enum MAPISTATUS mapi_handles_delete(struct mapi_handles_context *, uint32_t)
Definition: mapi_handles.c:453
enum MAPISTATUS mapi_handles_set_systemfolder(struct mapi_handles *, int)
uint16_t libmapiserver_RopOpenStream_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:185
int libmapiserver_push_property(TALLOC_CTX *, uint32_t, const void *, DATA_BLOB *, uint8_t, uint8_t, uint8_t)
Definition: libmapiserver_oxcprpt.c:408
_PUBLIC_ uint16_t libmapiserver_RopGetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:81
const struct mapiproxy_module * mapiproxy_server_bystatus(const char *, enum mapiproxy_status)
Definition: dcesrv_mapiproxy_server.c:252
enum MAPISTATUS emsmdbp_mailbox_provision_public_freebusy(struct emsmdbp_context *, const char *)
Definition: emsmdbp_provisioning.c:93
@ EMSMDBP_MAX_PF_SYSTEMIDX
Definition: dcesrv_exchange_emsmdb.h:281
static NTSTATUS mapiproxy_op_bind_proxy(struct dcesrv_call_state *dce_call, const struct dcesrv_interface *iface, uint32_t if_version)
Definition: dcesrv_mapiproxy.c:182
uint16_t libmapiserver_RopLongTermIdFromId_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:102
uint16_t libmapiserver_RopGetPerUserLongTermIds_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:142
static const char * _openchangedb_property_get_string_attribute(uint32_t proptag)
Definition: openchangedb_property.c:583
void dcesrv_MtaBind(struct dcesrv_call_state *, TALLOC_CTX *, struct MtaBind *)
Definition: dcesrv_mapiproxy_unused.c:149
int emsmdbp_replid_to_guid(struct emsmdbp_context *, const char *username, const uint16_t, struct GUID *)
Definition: emsmdbp.c:523
#define MPM_NAME
Definition: mpm_pack.c:32
enum MAPISTATUS dcesrv_EcDoRpc(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoRpc *)
Definition: dcesrv_mapiproxy_unused.c:678
_PUBLIC_ uint16_t libmapiserver_RopGetPropertiesList_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:88
uint16_t libmapiserver_RopEmptyFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:217
#define SIZE_DFLT_ROPSORTTABLE
Definition: libmapiserver.h:176
static void position_in_table(struct STAT *pStat, struct PropertyTagArray_r *mids, uint32_t *out_row, uint32_t *out_last_row)
Definition: dcesrv_exchange_nsp.c:249
uint16_t libmapiserver_RopQueryPosition_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:127
uint16_t libmapiserver_RopDeleteProperties_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:137
struct timeval request_start
Definition: dcesrv_exchange_emsmdb.h:184
static void dcesrv_NspiGetPropList(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetPropList *r)
Definition: dcesrv_exchange_nsp.c:904
bool mapiproxy_NspiGetProps(struct dcesrv_call_state *dce_call, struct NspiGetProps *r)
Definition: dcesrv_mapiproxy_nspi.c:69
enum MAPISTATUS EcDoRpc_RopFastTransferSourceGetBuffer(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:1805
enum MAPISTATUS dcesrv_RfrGetNewDSA(struct dcesrv_call_state *, TALLOC_CTX *, struct RfrGetNewDSA *)
Definition: dcesrv_mapiproxy_unused.c:100
_PUBLIC_ uint16_t libmapiserver_LongTermId_size(void)
Definition: libmapiserver_oxcdata.c:156
enum MAPISTATUS mapi_handles_add(struct mapi_handles_context *, uint32_t, struct mapi_handles **)
Definition: mapi_handles.c:269
enum MAPISTATUS openchangedb_create_folder(struct openchangedb_context *, const char *, uint64_t, uint64_t, uint64_t, const char *, int)
Definition: openchangedb.c:902
static enum MAPISTATUS emsmdbp_object_move_folder_to_mapistore_root(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *folder, struct emsmdbp_object *parent_folder, const char *new_name)
Definition: emsmdbp_object.c:1342
_PUBLIC_ enum MAPISTATUS openchangedb_get_distinguishedName(TALLOC_CTX *parent_ctx, struct openchangedb_context *oc_ctx, uint64_t fid, char **distinguishedName)
FIXME Not used anywhere.
Definition: openchangedb.c:160
enum MAPISTATUS openchangedb_transaction_commit(struct openchangedb_context *)
Definition: openchangedb.c:973
void dcesrv_ds_abandon(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_abandon *r)
Definition: dcesrv_mapiproxy_unused.c:172
void dcesrv_sysatt_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct sysatt_dummy *)
Definition: dcesrv_mapiproxy_unused.c:136
NTSTATUS mpm_cache_ldb_add_stream(struct mpm_cache *mpm, struct ldb_context *ldb_ctx, struct mpm_stream *stream)
Definition: mpm_cache_ldb.c:241
enum MAPISTATUS emsabp_ab_container_enum(TALLOC_CTX *, struct emsabp_context *, uint32_t, struct ldb_result **)
Definition: emsabp.c:1413
_PUBLIC_ enum MAPISTATUS openchangedb_message_save(struct openchangedb_context *oc_ctx, void *msg, uint8_t SaveFlags)
Definition: openchangedb_message.c:77
uint16_t libmapiserver_RopGetPropertiesSpecific_size(struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:43
static int emsabp_tdb_traverse_MId_DN(TDB_CONTEXT *tdb_ctx, TDB_DATA key, TDB_DATA dbuf, void *state)
Definition: emsabp_tdb.c:268
const char * openchangedb_property_get_attribute(uint32_t)
Definition: openchangedb_property.c:597
NTSTATUS mpm_cache_ldb_add_message(TALLOC_CTX *mem_ctx, struct ldb_context *ldb_ctx, struct mpm_message *message)
Definition: mpm_cache_ldb.c:120
@ MAPIPROXY_DEFAULT
Definition: libmapiproxy.h:45
enum MAPISTATUS dcesrv_RfrGetFQDNFromLegacyDN(struct dcesrv_call_state *, TALLOC_CTX *, struct RfrGetFQDNFromLegacyDN *)
Definition: dcesrv_mapiproxy_unused.c:110
void dcesrv_dra_modify_entry(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_modify_entry *)
Definition: dcesrv_mapiproxy_unused.c:382
uint8_t R3
Definition: dcesrv_exchange_nsp.h:88
static enum MAPISTATUS oxcfxics_ndr_push_transfer_state(struct ndr_push *ndr, const char *owner, struct emsmdbp_object *synccontext_object)
Definition: oxcfxics.c:3447
uint16_t libmapiserver_RopSeekRow_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxctabl.c:149
#define DEFAULT_INTERFACES
Definition: dcesrv_mapiproxy.c:31
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopQueryRows(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxctabl.c:365
static void dcesrv_NspiCompareMIds(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiCompareMIds *r)
Definition: dcesrv_exchange_nsp.c:1010
void dcesrv_exchange_mta_qadmin(struct dcesrv_call_state *, TALLOC_CTX *, struct exchange_mta_qadmin *)
Definition: dcesrv_mapiproxy_unused.c:418
size_t n_domain_groups
Definition: libmapiproxy.h:85
void dcesrv_dra_reference_update(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_reference_update *r)
Definition: dcesrv_mapiproxy_unused.c:332
static int emsmdbp_object_get_properties_systemspecialfolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2652
NTSTATUS mapiproxy_module_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
Definition: dcesrv_mapiproxy_module.c:113
__BEGIN_DECLS NTSTATUS samba_init_module(void)
Definition: dcesrv_mapiproxy.c:756
enum MAPISTATUS dcesrv_NspiGetTemplateInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetTemplateInfo *r)
Definition: dcesrv_mapiproxy_unused.c:575
void dcesrv_xds_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct xds_dummy *)
Definition: dcesrv_mapiproxy_unused.c:405
#define SIZE_DFLT_ROPGETPROPERTIESSPECIFIC
Definition: libmapiserver.h:90
#define SIZE_DFLT_ROPCREATEMESSAGE
Definition: libmapiserver.h:84
struct mpm_session * mpm_session_init(TALLOC_CTX *, struct dcesrv_call_state *)
Definition: dcesrv_mapiproxy_session.c:90
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopDeletePropertiesNoReplicate(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:1302
struct emsmdbp_object * emsmdbp_object_stream_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:2539
@ EMSMDBP_REMINDERS
Definition: dcesrv_exchange_emsmdb.h:256
static NTSTATUS cache_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_cache.c:837
void dcesrv_xds_dummy(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct xds_dummy *r)
Definition: dcesrv_mapiproxy_unused.c:405
_PUBLIC_ enum MAPISTATUS openchangedb_delete_folder(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid)
Definition: openchangedb.c:775
struct emsmdbp_object * emsmdbp_object_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *parent_object)
Definition: emsmdbp_object.c:801
_PUBLIC_ const char * emsabp_property_get_attribute(uint32_t ulPropTag)
Definition: emsabp_property.c:101
bool emsmdbp_set_session_uuid(struct emsmdbp_context *, struct GUID)
Definition: emsmdbp.c:205
static struct MessageReadState * get_MessageReadState(TALLOC_CTX *mem_ctx, struct Binary_r *bin)
Definition: oxcfxics.c:3167
enum MAPISTATUS emsmdbp_object_create_folder(struct emsmdbp_context *, struct emsmdbp_object *, TALLOC_CTX *, uint64_t, struct SRow *, bool, struct emsmdbp_object **)
Definition: emsmdbp_object.c:355
_PUBLIC_ uint16_t libmapiserver_RopGetMessageStatus_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:219
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSyncGetTransferState(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfxics.c:3548
enum MAPISTATUS EcDoRpc_RopSyncOpenCollector(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfxics.c:3024
static NTSTATUS pack_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull)
Definition: mpm_pack.c:238
_PUBLIC_ struct emsmdbp_object * emsmdbp_folder_open_table(TALLOC_CTX *mem_ctx, struct emsmdbp_object *parent_object, uint32_t table_type, uint32_t handle_id)
Definition: emsmdbp_object.c:1621
enum MAPISTATUS emsabp_tdb_fetch_MId(TDB_CONTEXT *, const char *, uint32_t *)
Definition: emsabp_tdb.c:193
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetHierarchyTable(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:133
enum emsmdbp_object_type type
Definition: dcesrv_exchange_emsmdb.h:234
uint16_t libmapiserver_RopFastTransferSourceGetBuffer_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:52
bool mapiproxy_NspiDNToMId(struct dcesrv_call_state *, struct NspiDNToMId *)
Definition: dcesrv_mapiproxy_nspi.c:191
enum MAPISTATUS openchangedb_get_MailboxGuid(struct openchangedb_context *, const char *, struct GUID *)
Definition: openchangedb.c:180
_PUBLIC_ bool openchangedb_is_public_folder_id(struct openchangedb_context *oc_ctx, uint64_t fid)
Definition: openchangedb.c:1010
const char * endpoint
Definition: libmapiproxy.h:54
uint16_t libmapiserver_RopSetMessageReadFlag_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:193
_PUBLIC_ uint16_t libmapiserver_RopModifyRecipients_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:139
#define SIZE_DFLT_ROPNOTIFY
Definition: libmapiserver.h:347
enum MAPISTATUS dcesrv_NspiGetTemplateInfo(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetTemplateInfo *)
Definition: dcesrv_mapiproxy_unused.c:575
@ EMSMDBP_COMMON_VIEWS
Definition: dcesrv_exchange_emsmdb.h:249
_PUBLIC_ uint16_t libmapiserver_RopSyncImportReadStateChanges_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:238
enum mapiproxy_status status
Definition: libmapiproxy.h:51
static void dcesrv_NspiGetIDsFromNames(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetIDsFromNames *r)
Definition: dcesrv_exchange_nsp.c:1207
static NTSTATUS cache_push_ReadStream(struct dcesrv_call_state *dce_call, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc_MAPI_REPL mapi_repl, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:780
enum MAPISTATUS emsabp_fetch_attrs(TALLOC_CTX *, struct emsabp_context *, struct PropertyRow_r *, uint32_t, uint32_t, struct SPropTagArray *)
Definition: emsabp.c:732
uint8_t flags
Definition: dcesrv_exchange_emsmdb.h:151
#define AB_SUBCONTAINERS
Definition: dcesrv_exchange_nsp.h:102
@ EMSMDBP_SCHEDULE
Definition: dcesrv_exchange_emsmdb.h:250
enum MAPISTATUS dcesrv_NspiGetSpecialTable(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetSpecialTable *r)
Definition: dcesrv_mapiproxy_unused.c:565
enum MAPISTATUS openchangedb_table_init(TALLOC_CTX *, struct openchangedb_context *, const char *, uint8_t, uint64_t, void **)
/details Initialize an openchangedb table
Definition: openchangedb_table.c:48
enum MAPISTATUS dcesrv_NspiModLinkAtt(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiModLinkAtt *r)
Definition: dcesrv_mapiproxy_unused.c:585
struct mpm_stream * next
Definition: mpm_cache.h:77
static uint32_t oxcfxics_compute_cutmark_min_value_buffer(uint16_t prop_type)
Definition: oxcfxics.c:218
enum MAPISTATUS EcDoRpc_RopSortTable(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:143
NTTIME allow_password_change
Definition: libmapiproxy.h:105
uint32_t parent_handle
Definition: mpm_cache.h:64
_PUBLIC_ enum MAPISTATUS openchangedb_set_mapistoreURI(struct openchangedb_context *oc_ctx, const char *username, uint64_t fid, const char *mapistoreURL)
Definition: openchangedb.c:272
@ EXCHANGE_HANDLE_EMSMDB
Definition: dcesrv_mapiproxy.h:57
static enum MAPISTATUS oxcmsg_parse_ModifyRecipientRow(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct ModifyRecipientRow *recipient_row, uint16_t modify_recipients_prop_count, enum MAPITAGS *properties, struct mapistore_message_recipient *recipient)
Definition: oxcmsg.c:746
#define AB_RECIPIENTS
NSPI PR_CONTAINER_FLAGS values.
Definition: dcesrv_exchange_nsp.h:101
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopSubmitMessage(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:150
_PUBLIC_ uint32_t emsabp_property_get_ulPropTag(const char *attribute)
Definition: emsabp_property.c:126
static int emsmdbp_object_get_properties_mapistore(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *object, struct SPropTagArray *properties, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:2998
const char * account_name
Definition: libmapiproxy.h:91
uint16_t libmapiserver_RopRelease_size(void)
uint32_t R4
Definition: dcesrv_exchange_nsp.h:90
_PUBLIC_ uint16_t libmapiserver_RopSetMessageReadFlag_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:193
#define EMSABP_TDB_MID_START
Definition: dcesrv_exchange_nsp.h:105
Definition: dcesrv_exchange_emsmdb.h:284
#define EMSABP_TDB_TMP_MID_START
Definition: dcesrv_exchange_nsp.h:106
size_t position
Definition: dcesrv_exchange_emsmdb.h:72
uint16_t libmapiserver_RopGetPropertiesAll_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:66
emsmdbp_pf_systemidx
Definition: dcesrv_exchange_emsmdb.h:270
static struct emsmdbp_object * emsmdbp_get_mailbox(struct emsmdbp_object *object)
Definition: emsmdbp_object.c:101
enum MAPISTATUS EcDoRpc_RopFindRow(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxctabl.c:758
struct emsmdbp_object_ftcontext * ftcontext
Definition: dcesrv_exchange_emsmdb.h:229
#define SIZE_DFLT_ROPGETHIERARCHYTABLE
Definition: libmapiserver.h:72
uint16_t libmapiserver_RopCreateMessage_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:77
_PUBLIC_ enum MAPISTATUS emsabp_tdb_fetch_dn_from_MId(TALLOC_CTX *mem_ctx, TDB_CONTEXT *tdb_ctx, uint32_t MId, char **dn)
Definition: emsabp_tdb.c:303
static enum MAPISTATUS dcesrv_EcDoDisconnect(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoDisconnect *r)
Definition: dcesrv_exchange_emsmdb.c:243
enum MAPISTATUS EcDoRpc_RopOptionsData(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxomsg.c:459
bool restricted
Definition: dcesrv_exchange_emsmdb.h:146
Definition: libmapiproxy.h:117
struct emsmdbp_object * emsmdbp_object_table_init(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *)
Definition: emsmdbp_object.c:1747
NTSTATUS mpm_cache_stream_open(struct mpm_cache *, struct mpm_stream *)
Definition: mpm_cache_stream.c:50
#define __BEGIN_DECLS
Definition: fault_util.h:73
_PUBLIC_ void * emsabp_query(TALLOC_CTX *mem_ctx, struct emsabp_context *emsabp_ctx, struct ldb_message *msg, uint32_t ulPropTag, uint32_t MId, uint32_t dwFlags)
Definition: emsabp.c:497
static void * get_emsmdbp_data(enum MAPITAGS ul_prop_tag, struct SPropTagArray *s_prop_tag_array, void **data_pointers, enum MAPISTATUS *retvals)
Definition: emsmdbp_object.c:3566
@ EMSMDBP_OBJECT_STREAM
Definition: dcesrv_exchange_emsmdb.h:114
uint32_t MId
Definition: dcesrv_exchange_nsp.h:62
#define SIZE_DFLT_ROPDELETEPROPERTIESNOREPLICATE
Definition: libmapiserver.h:305
uint16_t libmapiserver_RopSyncUploadStateStreamEnd_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfxics.c:170
void dcesrv_dra_delete_subref(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct dra_delete_subref *r)
Definition: dcesrv_mapiproxy_unused.c:392
static void oxcfxics_push_messageChange_attachment_embedded_message(struct emsmdbp_context *emsmdbp_ctx, uint32_t contextID, struct emsmdbp_object_synccontext *synccontext, struct oxcfxics_sync_data *sync_data, void *attachment)
Definition: oxcfxics.c:621
static uint32_t proxypack(TALLOC_CTX *mem_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct ndr_push *ndr)
Definition: mpm_pack.c:43
uint64_t FolderId
Definition: mpm_cache.h:43
uint32_t DisplayType
Definition: dcesrv_exchange_nsp.h:76
enum MAPISTATUS EcDoRpc_RopIdFromLongTermId(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:782
uint16_t libmapiserver_RopSaveChangesAttachment_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:285
const char * home_drive
Definition: libmapiproxy.h:98
enum MAPISTATUS openchangedb_table_get_property(TALLOC_CTX *, struct openchangedb_context *, void *, enum MAPITAGS, uint32_t, bool, void **)
Definition: openchangedb_table.c:94
void dcesrv_dra_adopt(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_adopt *)
Definition: dcesrv_mapiproxy_unused.c:362
char * szDNPrefix
Definition: dcesrv_exchange_emsmdb.h:52
enum MAPISTATUS openchangedb_get_new_changeNumbers(struct openchangedb_context *, TALLOC_CTX *, const char *, uint64_t, struct UI8Array_r **)
Definition: openchangedb.c:600
static struct mp_module * mp_modules
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopTransportSend(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxomsg.c:377
uint32_t next_cutmark_idx
Definition: dcesrv_exchange_emsmdb.h:217
const struct GUID *const MagicGUIDp
Definition: dcesrv_exchange_emsmdb.h:308
enum MAPISTATUS openchangedb_get_fid_from_partial_uri(struct openchangedb_context *, const char *, uint64_t *)
FIXME Not used anywhere, remove it?
Definition: openchangedb.c:817
bool request_message_size
Definition: dcesrv_exchange_emsmdb.h:101
uint16_t libmapiserver_RopFastTransferSourceCopyTo_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfxics.c:38
uint16_t libmapiserver_RopSubmitMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxomsg.c:39
#define SIZE_DFLT_ROPLOGON_MAILBOX
Definition: libmapiserver.h:409
_PUBLIC_ uint16_t libmapiserver_RopGetContentsTable_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:83
uint16_t libmapiserver_mapi_SPropValue_size(uint16_t, struct mapi_SPropValue *)
Definition: libmapiserver_oxcdata.c:186
_PUBLIC_ uint16_t libmapiserver_RopGetNamesFromIDs_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:321
NTSTATUS mapiproxy_server_register(const void *_server_module)
Definition: dcesrv_mapiproxy_server.c:84
const char * organization_name
Definition: dcesrv_exchange_nsp.h:45
const char ** openchangedb_get_folders_names(TALLOC_CTX *, struct openchangedb_context *, const char *, const char *)
Definition: openchangedb.c:1085
void dcesrv_dra_replica_delete(struct dcesrv_call_state *, TALLOC_CTX *, struct dra_replica_delete *)
Definition: dcesrv_mapiproxy_unused.c:312
static void * openchange_ldb_ctx
Definition: dcesrv_mapiproxy_server.c:41
uint16_t libmapiserver_RopCopyTo_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcprpt.c:163
static struct ldb_context * samdb_init(struct loadparm_context *lp_ctx)
Definition: emsmdbp.c:58
#define SERVERNAME
Definition: dcesrv_mapiproxy.h:66
static enum MAPISTATUS RopLogon_Mailbox(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl)
Definition: oxcstor.c:46
_PUBLIC_ enum MAPISTATUS emsabp_search_dn(struct emsabp_context *emsabp_ctx, const char *dn, struct ldb_message **ldb_res)
Definition: emsabp.c:1274
uint16_t libmapiserver_RopSetSearchCriteria_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:179
uint16_t libmapiserver_RopNotify_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcnotif.c:46
enum MAPISTATUS openchangedb_get_folder_property(TALLOC_CTX *, struct openchangedb_context *, const char *, uint32_t, uint64_t, void **)
Definition: openchangedb.c:644
bool cached
Definition: mpm_cache.h:71
NTSTATUS mapiproxy_module_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull)
Definition: dcesrv_mapiproxy_module.c:65
static enum MAPISTATUS dcesrv_EcDoAsyncConnectEx(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoAsyncConnectEx *r)
Definition: dcesrv_exchange_emsmdb.c:1535
NTSTATUS ndr_table_register(const struct ndr_interface_table *)
enum MAPISTATUS openchangedb_get_MAPIStoreURIs(struct openchangedb_context *, const char *, TALLOC_CTX *, struct StringArrayW_r **)
Definition: openchangedb.c:364
@ EMSMDBP_TRACKEDMAILPROCESSING
Definition: dcesrv_exchange_emsmdb.h:258
static bool mapiproxy_op_interface_by_name(struct dcesrv_interface *iface, const char *name)
Definition: dcesrv_mapiproxy.c:682
_PUBLIC_ uint16_t libmapiserver_RopGetPropertyIdsFromNames_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:346
bool emsmdbp_is_mailboxstore(struct emsmdbp_object *)
Definition: emsmdbp_object.c:119
struct emsmdbp_stream stream
Definition: dcesrv_exchange_emsmdb.h:215
#define __END_DECLS
Definition: libmapiserver.h:45
static void dcesrv_NspiResolveNamesW(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiResolveNamesW *r)
Definition: dcesrv_exchange_nsp.c:1443
struct SRow * libmapiserver_ROP_request_to_properties(TALLOC_CTX *, void *, uint8_t)
Definition: libmapiserver_oxcprpt.c:558
enum MAPISTATUS EcDoRpc_RopCopyTo(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:1344
_PUBLIC_ uint16_t libmapiserver_RopReadPerUserInformation_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcstor.c:168
struct emsmdbp_context * emsmdbp_ctx
Definition: dcesrv_exchange_emsmdb.h:236
uint16_t libmapiserver_RopGetAttachmentTable_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:240
enum MAPISTATUS openchangedb_get_PublicFolderReplica(struct openchangedb_context *, const char *, uint16_t *, struct GUID *)
Definition: openchangedb.c:222
static void dcesrv_make_ptyp_error_property_row(TALLOC_CTX *mem_ctx, struct SPropTagArray *pPropTags, struct PropertyRow_r *aRow)
Make PropertyRow record with empty value and PT_ERROR flag for PropTag.
Definition: dcesrv_exchange_nsp.c:66
#define EMSABP_TDB_DATA_REC
Definition: dcesrv_exchange_nsp.h:107
static struct ldb_context * samdb_ctx
Definition: emsabp.c:42
uint16_t libmapiserver_RopDeleteMessage_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcfold.c:157
NTSTATUS mpm_cache_stream_read(struct mpm_stream *, size_t, size_t *, uint8_t **)
Definition: mpm_cache_stream.c:150
@ MAPIPROXY_CUSTOM
Definition: libmapiproxy.h:46
uint32_t next_cutmark_idx
Definition: dcesrv_exchange_emsmdb.h:208
Definition: dcesrv_exchange_emsmdb.h:232
const struct ndr_interface_list * ndr_table_list(void)
static enum MAPISTATUS dcesrv_RfrGetFQDNFromLegacyDN(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetFQDNFromLegacyDN *r)
Definition: dcesrv_exchange_ds_rfr.c:94
char * dn
Definition: dcesrv_exchange_nsp.h:63
uint16_t libmapiserver_RopOpenAttach_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcmsg.c:253
_PUBLIC_ uint16_t libmapiserver_RopCreateFolder_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:105
NTSTATUS dcerpc_server_exchange_mta_init(void)
static const struct locale_special_names special_folders[]
Definition: emsmdbp_provisioning_names.c:42
enum MAPISTATUS dcesrv_EcDoConnectEx(struct dcesrv_call_state *, TALLOC_CTX *, struct EcDoConnectEx *)
Definition: dcesrv_mapiproxy_unused.c:757
static enum mapistore_error emsmdbp_object_root_mapistore_folder_set(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object *folder, struct SRow *rowp, const char *container_class)
Definition: emsmdbp_object.c:3112
#define SIZE_DFLT_ROPOPENFOLDER
Definition: libmapiserver.h:58
bool request_eid
Definition: dcesrv_exchange_emsmdb.h:89
uint32_t StreamSize
Definition: mpm_cache.h:67
#define PROVISIONING_SPECIAL_FOLDERS_SIZE
Definition: dcesrv_exchange_emsmdb.h:290
#define SIZE_DFLT_ROPSETMESSAGEREADFLAG
Definition: libmapiserver.h:141
TDB_CONTEXT * ttdb_ctx
Definition: dcesrv_exchange_nsp.h:50
enum mapistore_error emsmdbp_folder_delete(struct emsmdbp_context *, struct emsmdbp_object *, uint64_t, uint8_t)
Definition: emsmdbp_object.c:1523
_PUBLIC_ int emsmdbp_source_key_from_fmid(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, const char *username, uint64_t fmid, struct Binary_r **source_keyP)
Definition: emsmdbp.c:547
static struct mapiproxy_module_list * mpm_list
Definition: dcesrv_mapiproxy_module.c:38
bool mpm_session_set_destructor(struct mpm_session *, bool(*destructor)(void *))
Definition: dcesrv_mapiproxy_session.c:111
NTSTATUS mapiproxy_server_register(const void *)
Definition: dcesrv_mapiproxy_server.c:84
const struct mapiproxy_module * mapiproxy_module_byname(const char *name)
Definition: dcesrv_mapiproxy_module.c:227
uint32_t acct_flags
Definition: libmapiproxy.h:111
struct mpm_message * message
Definition: mpm_cache.h:75
struct timeval tv_start
Definition: mpm_cache.h:73
enum mapistore_error emsmdbp_object_message_open(TALLOC_CTX *, struct emsmdbp_context *, struct emsmdbp_object *, uint64_t, uint64_t, bool, struct emsmdbp_object **, struct mapistore_message **)
Definition: emsmdbp_object.c:2435
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenMessage(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:162
_PUBLIC_ struct emsabp_context * emsabp_init(struct loadparm_context *lp_ctx, TDB_CONTEXT *tdb_ctx)
Definition: emsabp.c:88
#define SIZE_DFLT_ROPGETSTORESTATE
Definition: libmapiserver.h:395
void dcesrv_ds_search(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_search *)
Definition: dcesrv_mapiproxy_unused.c:272
static NTSTATUS dummy_init(struct dcesrv_context *dce_ctx)
Definition: mpm_dummy.c:30
static const int folder_properties_shift
Definition: oxcfxics.c:152
bool best_body
Definition: dcesrv_exchange_emsmdb.h:96
_PUBLIC_ enum MAPISTATUS entryid_set_folder_EntryID(TALLOC_CTX *mem_ctx, struct GUID *MailboxGuid, struct GUID *ReplGuid, uint16_t FolderType, uint64_t fid, struct Binary_r **rbin)
Definition: entryid.c:73
static char * emsmdbp_compute_parent_uri(TALLOC_CTX *mem_ctx, char *uri)
Definition: emsmdbp_object.c:531
enum MAPISTATUS dcesrv_NspiSeekEntries(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiSeekEntries *r)
Definition: dcesrv_mapiproxy_unused.c:485
#define SIZE_DFLT_ROPGETPERUSERGUID
Definition: libmapiserver.h:389
static NTSTATUS dummy_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_dummy.c:49
void dcesrv_ds_list(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ds_list *r)
Definition: dcesrv_mapiproxy_unused.c:212
_PUBLIC_ uint16_t libmapiserver_RopSaveChangesAttachment_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:285
NTTIME last_logon
Definition: libmapiproxy.h:101
static bool mapiproxy_op_interface_by_uuid(struct dcesrv_interface *iface, const struct GUID *uuid, uint32_t if_version)
Definition: dcesrv_mapiproxy.c:667
static const char ** get_folders_names(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
Definition: emsmdbp_provisioning.c:60
enum MAPISTATUS EcDoRpc_RopMoveFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:1045
_PUBLIC_ DATA_BLOB emsmdbp_stream_read_buffer(struct emsmdbp_stream *stream, uint32_t length)
Definition: emsmdbp_object.c:3407
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcfold.c:49
static struct exchange_emsmdb_session * dcesrv_find_emsmdb_session(struct GUID *uuid)
Definition: dcesrv_exchange_emsmdb.c:38
uint16_t libmapiserver_RopGetAddressTypes_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:66
enum MAPISTATUS EcDoRpc_RopModifyRules(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxorule.c:134
uint16_t libmapiserver_RopSubmitMessage_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxomsg.c:39
void dcesrv_MtaBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct MtaBind *r)
Definition: dcesrv_mapiproxy_unused.c:149
int emsmdbp_source_key_from_fmid(TALLOC_CTX *, struct emsmdbp_context *, const char *username, uint64_t, struct Binary_r **)
Definition: emsmdbp.c:547
_PUBLIC_ uint16_t libmapiserver_RopOpenEmbeddedMessage_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcmsg.c:297
enum MAPISTATUS EcDoRpc_RopSetStreamSize(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:1070
struct mpm_message * next
Definition: mpm_cache.h:46
static TDB_CONTEXT * emsabp_tdb_ctx
Definition: dcesrv_mapiproxy_server.c:40
enum MAPISTATUS dcesrv_EcDoRpcExt(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpcExt *r)
Definition: dcesrv_mapiproxy_unused.c:748
@ EMSMDBP_OBJECT_SUBSCRIPTION
Definition: dcesrv_exchange_emsmdb.h:116
static int dispatch_nbr
Definition: dcesrv_mapiproxy.c:33
void dcesrv_EcRNetGetDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRNetGetDCName *r)
Definition: dcesrv_mapiproxy_unused.c:738
_PUBLIC_ enum MAPISTATUS openchangedb_get_mid_by_subject(struct openchangedb_context *oc_ctx, const char *username, uint64_t parent_fid, const char *subject, bool mailboxstore, uint64_t *mid)
Definition: openchangedb.c:750
char * exchname
Definition: dcesrv_mapiproxy.h:48
enum MAPISTATUS openchangedb_get_mid_by_subject(struct openchangedb_context *, const char *, uint64_t, const char *, bool, uint64_t *)
Definition: openchangedb.c:750
uint16_t libmapiserver_TypedString_size(struct TypedString typedstring)
Definition: libmapiserver_oxcdata.c:38
static void oxcfxics_push_messageChange_attachments(struct emsmdbp_context *emsmdbp_ctx, struct emsmdbp_object_synccontext *synccontext, struct oxcfxics_sync_data *sync_data, struct emsmdbp_object *message_object)
Definition: oxcfxics.c:688
enum MAPISTATUS openchangedb_get_distinguishedName(TALLOC_CTX *, struct openchangedb_context *, uint64_t, char **)
FIXME Not used anywhere.
Definition: openchangedb.c:160
#define SIZE_DFLT_ROPDELETEMESSAGE
Definition: libmapiserver.h:338
uint16_t libmapiserver_RopSetReceiveFolder_size(struct EcDoRpc_MAPI_REPL *)
Definition: libmapiserver_oxcstor.c:68
enum MAPISTATUS dcesrv_NspiGetProps(struct dcesrv_call_state *, TALLOC_CTX *, struct NspiGetProps *)
Definition: dcesrv_mapiproxy_unused.c:535
static NTSTATUS downgrade_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
Definition: mpm_downgrade.c:54
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopOpenStream(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:522
enum StateProperty state_property
Definition: dcesrv_exchange_emsmdb.h:196
_PUBLIC_ enum MAPISTATUS emsabp_PermanentEntryID_to_Binary_r(TALLOC_CTX *mem_ctx, struct PermanentEntryID *permEntryID, struct Binary_r *bin)
Definition: emsabp.c:444
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopGetPropertiesAll(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcprpt.c:216
static struct GUID MagicGUID
Definition: emsmdbp.c:43
enum MAPISTATUS EcDoRpc_RopReadPerUserInformation(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcstor.c:977
struct emsmdbp_stream_data * emsmdbp_stream_data_from_value(TALLOC_CTX *, enum MAPITAGS, void *value, bool)
Definition: emsmdbp_object.c:3371
enum MAPISTATUS emsmdbp_mailbox_provision(struct emsmdbp_context *, const char *)
Definition: emsmdbp_provisioning.c:202
static NTSTATUS cache_init(struct dcesrv_context *dce_ctx)
Definition: mpm_cache.c:1152
static enum MAPISTATUS RopSetReceiveFolder(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles)
Definition: oxcstor.c:373
_PUBLIC_ enum MAPISTATUS EcDoRpc_RopCreateMessage(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, struct EcDoRpc_MAPI_REQ *mapi_req, struct EcDoRpc_MAPI_REPL *mapi_repl, uint32_t *handles, uint16_t *size)
Definition: oxcmsg.c:315
NTSTATUS mpm_cache_ldb_add_attachment(TALLOC_CTX *, struct ldb_context *, struct mpm_attachment *)
Definition: mpm_cache_ldb.c:184
static NTSTATUS cache_pull_OpenStream(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoRpc_MAPI_REQ mapi_req, struct EcDoRpc *EcDoRpc)
Definition: mpm_cache.c:617
static struct Binary_r * oxcfxics_make_xid(TALLOC_CTX *mem_ctx, struct GUID *replica_guid, uint64_t *id, uint8_t idlength)
Definition: oxcfxics.c:380
uint8_t R1
Definition: dcesrv_exchange_nsp.h:86
#define MAPI_HANDLES_ROOT
Definition: libmapiproxy.h:134
void dcesrv_ec_store_admin2_dummy(struct dcesrv_call_state *, TALLOC_CTX *, struct ec_store_admin2_dummy *)
Definition: dcesrv_mapiproxy_unused.c:72
uint32_t handle
Definition: libmapiproxy.h:118
#define SIZE_DFLT_ROPRELOADCACHEDINFORMATION
Definition: libmapiserver.h:135
struct emsmdbp_object * parent_object
Definition: dcesrv_exchange_emsmdb.h:233
struct mpm_session * session
Definition: mpm_cache.h:41
struct mpm_attachment * prev
Definition: mpm_cache.h:55
struct GUID uuid
Definition: dcesrv_exchange_emsmdb.h:66
_PUBLIC_ uint16_t libmapiserver_RopGetStreamSize_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcprpt.c:268
enum MAPISTATUS openchangedb_get_users_from_partial_uri(TALLOC_CTX *, struct openchangedb_context *, const char *, uint32_t *, char ***, char ***)
FIXME broken? mailboxDN not saved?
Definition: openchangedb.c:841
_PUBLIC_ int emsmdbp_get_uri_from_fid(TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx, uint64_t fid, char **urip)
Definition: emsmdbp_object.c:506
const struct mapiproxy_module * mapiproxy_server_byname(const char *)
Definition: dcesrv_mapiproxy_server.c:269
enum MAPISTATUS dcesrv_EcDoDisconnect(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcDoDisconnect *r)
Definition: dcesrv_mapiproxy_unused.c:668
void dcesrv_ds_compare(struct dcesrv_call_state *, TALLOC_CTX *, struct ds_compare *)
Definition: dcesrv_mapiproxy_unused.c:202
bool needs_commit
Definition: dcesrv_exchange_emsmdb.h:157
enum MAPISTATUS EcDoRpc_RopGetPropertiesList(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcprpt.c:314
struct emsmdbp_object_message * message
Definition: dcesrv_exchange_emsmdb.h:223
static struct emsabp_context * dcesrv_find_emsabp_context(struct GUID *uuid)
Definition: dcesrv_exchange_nsp.c:48
static void dcesrv_EcUnknown0xD(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcUnknown0xD *r)
Definition: dcesrv_exchange_emsmdb.c:1517
enum MAPISTATUS dcesrv_NspiUpdateStat(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiUpdateStat *r)
Definition: dcesrv_mapiproxy_unused.c:465
static enum MAPISTATUS mapi_handles_tdb_free(struct mapi_handles_context *handles_ctx, uint32_t handle)
Definition: mapi_handles.c:144
enum MAPISTATUS EcDoRpc_RopMoveCopyMessages(TALLOC_CTX *, struct emsmdbp_context *, struct EcDoRpc_MAPI_REQ *, struct EcDoRpc_MAPI_REPL *, uint32_t *, uint16_t *)
Definition: oxcfold.c:934
static void dcesrv_NspiGetTemplateInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct NspiGetTemplateInfo *r)
Definition: dcesrv_exchange_nsp.c:1112
static void dcesrv_EcRNetGetDCName(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct EcRNetGetDCName *r)
Definition: dcesrv_exchange_emsmdb.c:1141
@ EMSMDBP_SEARCH
Definition: dcesrv_exchange_emsmdb.h:251
_PUBLIC_ uint16_t libmapiserver_RopMoveCopyMessages_size(struct EcDoRpc_MAPI_REPL *response)
Definition: libmapiserver_oxcfold.c:237

Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/