--- 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; }