Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / net / samba4 / patches / 020-source3-msgsock-nvram-fix.patch
1 --- a/source3/lib/messages.c 2020-02-28 09:59:35.000000000 +0100
2 +++ b/source3/lib/messages.c 2020-05-19 13:35:11.814566657 +0200
3 @@ -507,7 +507,7 @@ static NTSTATUS messaging_init_internal(
4 return NT_STATUS_ACCESS_DENIED;
5 }
6
7 - priv_path = private_path("msg.sock");
8 + priv_path = lock_path(talloc_tos(), "msg.sock");
9 if (priv_path == NULL) {
10 return NT_STATUS_NO_MEMORY;
11 }
12 @@ -670,7 +670,7 @@ NTSTATUS messaging_reinit(struct messagi
13 msg_ctx->per_process_talloc_ctx,
14 msg_ctx->event_ctx,
15 &msg_ctx->id.unique_id,
16 - private_path("msg.sock"),
17 + lock_path(talloc_tos(), "msg.sock"),
18 lck_path,
19 messaging_recv_cb,
20 msg_ctx,