2021-02-21 00:02:15 +00:00
|
|
|
--- a/source3/lib/messages.c
|
|
|
|
+++ b/source3/lib/messages.c
|
2022-10-06 20:44:23 +00:00
|
|
|
@@ -500,7 +500,7 @@ static NTSTATUS messaging_init_internal(
|
2018-11-16 23:43:22 +00:00
|
|
|
return NT_STATUS_ACCESS_DENIED;
|
2018-01-31 13:17:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- priv_path = private_path("msg.sock");
|
2019-12-13 16:22:33 +00:00
|
|
|
+ priv_path = lock_path(talloc_tos(), "msg.sock");
|
2018-01-31 13:17:11 +00:00
|
|
|
if (priv_path == NULL) {
|
2018-11-16 23:43:22 +00:00
|
|
|
return NT_STATUS_NO_MEMORY;
|
|
|
|
}
|
2022-10-06 20:44:23 +00:00
|
|
|
@@ -663,7 +663,7 @@ NTSTATUS messaging_reinit(struct messagi
|
2020-06-09 14:35:02 +00:00
|
|
|
msg_ctx->per_process_talloc_ctx,
|
|
|
|
msg_ctx->event_ctx,
|
|
|
|
&msg_ctx->id.unique_id,
|
|
|
|
- private_path("msg.sock"),
|
|
|
|
+ lock_path(talloc_tos(), "msg.sock"),
|
|
|
|
lck_path,
|
|
|
|
messaging_recv_cb,
|
|
|
|
msg_ctx,
|