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>

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)
 

Detailed Description

Account provisioning.

Function Documentation

_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 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(), and openchangedb_message_set_properties().

Referenced by RopLogon_Mailbox().


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/