aboutsummaryrefslogtreecommitdiff
path: root/net/samba4/patches/021-source4-msgsock-nvram-fix.patch
blob: de1395217c0a7284b6dc5e69a04690a4f5425fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -514,7 +514,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;
 	}