You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
643 B

  1. --- a/source3/lib/messages.c
  2. +++ b/source3/lib/messages.c
  3. @@ -518,7 +518,7 @@ static NTSTATUS messaging_init_internal(
  4. return NT_STATUS_ACCESS_DENIED;
  5. }
  6. - priv_path = private_path("msg.sock");
  7. + priv_path = lock_path(talloc_tos(), "msg.sock");
  8. if (priv_path == NULL) {
  9. return NT_STATUS_NO_MEMORY;
  10. }
  11. @@ -662,7 +662,7 @@ NTSTATUS messaging_reinit(struct messagi
  12. msg_ctx->msg_dgm_ref = messaging_dgm_ref(
  13. msg_ctx, msg_ctx->event_ctx, &msg_ctx->id.unique_id,
  14. - private_path("msg.sock"), lck_path,
  15. + lock_path(talloc_tos(), "msg.sock"), lck_path,
  16. messaging_recv_cb, msg_ctx, &ret);
  17. if (msg_ctx->msg_dgm_ref == NULL) {