This is only used for selftest, to send out the log messages for checking.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
if (sdb_events || pwd_events) {
context->send_samdb_events = sdb_events;
context->send_password_events = pwd_events;
- context->msg_ctx = imessaging_client_init(ec, lp_ctx, ec);
+ context->msg_ctx = imessaging_client_init(context,
+ lp_ctx,
+ ec);
}
ldb_module_set_private(module, context);
if (lp_ctx && lpcfg_dsdb_group_change_notification(lp_ctx)) {
context->send_events = true;
- context->msg_ctx = imessaging_client_init(ec, lp_ctx, ec);
+ context->msg_ctx = imessaging_client_init(context,
+ lp_ctx,
+ ec);
}
ldb_module_set_private(module, context);