dcesrv_exchange_ds_rfr.c File Reference

OpenChange RFR Server implementation. More...

Functions

static NTSTATUS dcesrv_exchange_ds_rfr_dispatch (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, struct mapiproxy *mapiproxy)
 
static NTSTATUS dcesrv_exchange_ds_rfr_init (struct dcesrv_context *dce_ctx)
 
static NTSTATUS dcesrv_exchange_ds_rfr_unbind (struct server_id server_id, uint32_t context_id)
 
static enum MAPISTATUS dcesrv_RfrGetFQDNFromLegacyDN (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetFQDNFromLegacyDN *r)
 
static enum MAPISTATUS dcesrv_RfrGetNewDSA (struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RfrGetNewDSA *r)
 
NTSTATUS samba_init_module (void)
 

Detailed Description

OpenChange RFR Server implementation.

Function Documentation

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

Dispatch incoming RFR call to the correct OpenChange server function

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
rgeneric pointer on RFR data
mapiproxypointer to the mapiproxy structure controlling mapiproxy behavior
Returns
NT_STATUS_OK

References dcesrv_RfrGetFQDNFromLegacyDN(), and dcesrv_RfrGetNewDSA().

Referenced by samba_init_module().

static NTSTATUS dcesrv_exchange_ds_rfr_init ( struct dcesrv_context *  dce_ctx)
static

Initialize the RFR OpenChange server

Parameters
dce_ctxpointer to the server context
Returns
NT_STATUS_OK on success

Referenced by samba_init_module().

static NTSTATUS dcesrv_exchange_ds_rfr_unbind ( struct server_id  server_id,
uint32_t  context_id 
)
static

Terminate the RFR connection

Parameters
server_idreference to the server identifier structure
context_idthe connection context identifier
Returns
NT_STATUS_OK on success

Referenced by samba_init_module().

static enum MAPISTATUS dcesrv_RfrGetFQDNFromLegacyDN ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
struct RfrGetFQDNFromLegacyDN *  r 
)
static

exchange_ds_rrf RfrGetFQDNFromLegacyDN (0x1) function

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
rpointer to the RfrGetFQDNFromLegacyDN request data
Returns
MAPI_E_SUCCESS on success
static enum MAPISTATUS dcesrv_RfrGetNewDSA ( struct dcesrv_call_state *  dce_call,
TALLOC_CTX *  mem_ctx,
struct RfrGetNewDSA *  r 
)
static

exchange_ds_rfr RfrGetNewDSA (0x0) function

Parameters
dce_callpointer to the session context
mem_ctxpointer to the memory context
rpointer to the RfrGetNewDSA request data
Note
We incorrectly assume input pUserDN is correct and available, but it is OK for now.
Returns
MAPI_E_SUCCESS on success

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/