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)
committerRalph Boehme <slow@samba.org>
Wed, 16 Nov 2022 06:00:56 +0000 (06:00 +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

source3/smbd/files.c

index 64297f187732abba19302b66e905be408e21538e..40d71d8851bdb71cd9de4228789afcfd55e9b1c0 100644 (file)
@@ -1201,7 +1201,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;