emsmdbp_provisioning.c File Reference

Account provisioning. More...

#include <ctype.h>
#include <string.h>
#include "dcesrv_exchange_emsmdb.h"
#include <gen_ndr/ndr_property.h>

Macros

#define MAILBOX_ROOT_NAME   "OpenChange: %s"
 

Functions

_PUBLIC_ enum MAPISTATUS emsmdbp_mailbox_provision (struct emsmdbp_context *emsmdbp_ctx, const char *username)
 
_PUBLIC_ enum MAPISTATUS emsmdbp_mailbox_provision_public_freebusy (struct emsmdbp_context *emsmdbp_ctx, const char *EssDN)
 
static const char ** get_folders_names (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
 
static enum MAPISTATUS get_new_public_folder_id (struct emsmdbp_context *emsmdbp_ctx, uint64_t parent_fid, uint64_t *fid)
 
static struct emsmdbp_special_folderget_special_folders (TALLOC_CTX *mem_ctx, struct emsmdbp_context *emsmdbp_ctx)
 

Detailed Description

Account provisioning.

Macro Definition Documentation

§ MAILBOX_ROOT_NAME

#define MAILBOX_ROOT_NAME   "OpenChange: %s"

Function Documentation

§ emsmdbp_mailbox_provision()

§ emsmdbp_mailbox_provision_public_freebusy()

_PUBLIC_ enum MAPISTATUS emsmdbp_mailbox_provision_public_freebusy ( struct emsmdbp_context emsmdbp_ctx,
const char *  EssDN 
)

Provision the Local FreeBusy message for the user in Public Folder store.

Parameters
emsmdbp_ctxpointer to the emsmdbp context
EssDNpointer to enterprise distinguished name (X500 DN)
Returns
MAPI_E_SUCCESS on success, otherwise MAPI error

References EMSMDBP_PF_FREEBUSY, get_new_public_folder_id(), emsmdbp_context::oc_ctx, openchangedb_create_folder(), openchangedb_get_fid_by_name(), openchangedb_get_mid_by_subject(), openchangedb_get_new_changeNumber(), openchangedb_get_PublicFolderID(), openchangedb_message_create(), openchangedb_message_save(), openchangedb_message_set_properties(), and emsmdbp_context::username.

Referenced by RopLogon_Mailbox().

§ get_folders_names()

static const char** get_folders_names ( TALLOC_CTX *  mem_ctx,
struct emsmdbp_context emsmdbp_ctx 
)
static

§ get_new_public_folder_id()

static enum MAPISTATUS get_new_public_folder_id ( struct emsmdbp_context emsmdbp_ctx,
uint64_t  parent_fid,
uint64_t *  fid 
)
static

§ get_special_folders()

static struct emsmdbp_special_folder* get_special_folders ( TALLOC_CTX *  mem_ctx,
struct emsmdbp_context emsmdbp_ctx 
)
static

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/