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
576 B

  1. --- a/source3/lib/messages.c
  2. +++ b/source3/lib/messages.c
  3. @@ -507,7 +507,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. @@ -670,7 +670,7 @@ NTSTATUS messaging_reinit(struct messagi
  12. msg_ctx->per_process_talloc_ctx,
  13. msg_ctx->event_ctx,
  14. &msg_ctx->id.unique_id,
  15. - private_path("msg.sock"),
  16. + lock_path(talloc_tos(), "msg.sock"),
  17. lck_path,
  18. messaging_recv_cb,
  19. msg_ctx,