From 6b6b586b8d594eebe5aec4b97c6d3fa7d0aae16c Mon Sep 17 00:00:00 2001 From: Jule Anger Date: Mon, 25 Apr 2022 12:15:57 +0200 Subject: [PATCH] smbstatus: add service path to byte-range locks The service/share path was added in 39ddd0a520bc and removed in 3a7d372e2eb5. Signed-off-by: Jule Anger Reviewed-by: Ralph Boehme --- source3/utils/status.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/utils/status.c b/source3/utils/status.c index fbe9ce1a15e..13ba3811736 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -383,6 +383,7 @@ static void print_brl(struct file_id id, share_mode = fetch_share_mode_unlocked(NULL, id); if (share_mode) { fname = share_mode_filename(NULL, share_mode); + sharepath = share_mode_servicepath(share_mode); } else { fname = talloc_strdup(NULL, ""); if (fname == NULL) { -- 2.47.3