|
--- a/source3/lib/messages.c
|
|
+++ b/source3/lib/messages.c
|
|
@@ -221,7 +221,7 @@ struct messaging_context *messaging_init
|
|
return NULL;
|
|
}
|
|
|
|
- priv_path = private_path("msg.sock");
|
|
+ priv_path = lock_path("msg.sock");
|
|
if (priv_path == NULL) {
|
|
TALLOC_FREE(ctx);
|
|
return NULL;
|
|
@@ -311,7 +311,7 @@ NTSTATUS messaging_reinit(struct messagi
|
|
|
|
msg_ctx->msg_dgm_ref = messaging_dgm_ref(
|
|
msg_ctx, msg_ctx->event_ctx, &msg_ctx->id.unique_id,
|
|
- private_path("msg.sock"), lck_path,
|
|
+ lock_path("msg.sock"), lck_path,
|
|
messaging_recv_cb, msg_ctx, &ret);
|
|
|
|
if (msg_ctx->msg_dgm_ref == NULL) {
|