From efbebddbd9d8170bff7a6b81e8d53a36ceb6d8d1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 15 Nov 2022 13:29:46 -0800 Subject: [PATCH] s3: smbd: In synthetic_pathref() change DBG_ERR -> DBG_NOTICE to avoid spamming the logs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Can easily be seen by doing make test TESTS=fruit and looking in st/nt4_dc/smbd_test.log. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15210 Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Wed Nov 16 06:00:56 UTC 2022 on sn-devel-184 (cherry picked from commit f0ca9546102acf09f1834c03f8907ed26bfc80f8) --- source3/smbd/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 9b0c902c0d4..f48ae9f52fc 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -1196,7 +1196,7 @@ NTSTATUS synthetic_pathref(TALLOC_CTX *mem_ctx, status = openat_pathref_fsp(dirfsp, smb_fname); if (!NT_STATUS_IS_OK(status)) { - DBG_ERR("opening [%s] failed\n", + DBG_NOTICE("opening [%s] failed\n", smb_fname_str_dbg(smb_fname)); TALLOC_FREE(smb_fname); return status; -- 2.34.1