packages/net/samba4/patches/021-source4-msgsock-nvram-fix.patch
Andrew Sim 275eb110bb samba4: update to 4.18.0
Samba release history: https://www.samba.org/samba/history/samba-4.18.0.html

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
2023-03-27 03:35:59 +08:00

11 lines
333 B
Diff

--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -526,7 +526,7 @@ static struct imessaging_context *imessa
goto fail;
}
- msg->sock_dir = lpcfg_private_path(msg, lp_ctx, "msg.sock");
+ msg->sock_dir = lpcfg_lock_path(msg, lp_ctx, "msg.sock");
if (msg->sock_dir == NULL) {
goto fail;
}