1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 04:44:10 +02:00
openwrt-packages/net/samba4/patches/020-source3-msgsock-nvram-fix.patch
Andrew Sim 402f4ba4ef samba4: update to 4.17.0
Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2022-10-07 01:53:26 -07:00

21 lines
576 B
Diff

--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -500,7 +500,7 @@ static NTSTATUS messaging_init_internal(
return NT_STATUS_ACCESS_DENIED;
}
- priv_path = private_path("msg.sock");
+ priv_path = lock_path(talloc_tos(), "msg.sock");
if (priv_path == NULL) {
return NT_STATUS_NO_MEMORY;
}
@@ -663,7 +663,7 @@ NTSTATUS messaging_reinit(struct messagi
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,