]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: In synthetic_pathref() change DBG_ERR -> DBG_NOTICE to avoid spamming the...
authorJeremy Allison <jra@samba.org>
Tue, 15 Nov 2022 21:29:46 +0000 (13:29 -0800)
committerJule Anger <janger@samba.org>
Mon, 16 Jan 2023 09:40:17 +0000 (09:40 +0000)
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 <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Nov 16 06:00:56 UTC 2022 on sn-devel-184

(cherry picked from commit f0ca9546102acf09f1834c03f8907ed26bfc80f8)

source3/smbd/files.c

index cbe355c5fba4e68edf3a0520ca5b47cb15bd105a..e5597ba78f32d644e8a243fec356ec83487b6f21 100644 (file)
@@ -671,7 +671,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;