diff options
Diffstat (limited to 'source3/libnet/libnet_samsync.c')
-rw-r--r-- | source3/libnet/libnet_samsync.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c index 1b5b9c3b2f..6e416af180 100644 --- a/source3/libnet/libnet_samsync.c +++ b/source3/libnet/libnet_samsync.c @@ -80,6 +80,10 @@ NTSTATUS libnet_samsync_init_context(TALLOC_CTX *mem_ctx, NT_STATUS_HAVE_NO_MEMORY(ctx->domain_sid_str); } + ctx->msg_ctx = messaging_init(ctx, procid_self(), + event_context_init(ctx)); + NT_STATUS_HAVE_NO_MEMORY(ctx->msg_ctx); + *ctx_p = ctx; return NT_STATUS_OK; |