smbd: reduce loglevel for failed openat_pathref_fsp() calls
authorRalph Boehme <slow@samba.org>
Tue, 6 Apr 2021 12:47:39 +0000 (14:47 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 6 Apr 2021 14:39:46 +0000 (14:39 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14685
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1884
RN: Log clutter from filename_convert_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Apr  6 14:39:46 UTC 2021 on sn-devel-184

source3/smbd/filename.c

index 3560837ad1e7ae788cebcc15e778e5d2232a7eeb..f2b837d026352db58bb8948c3e7dbad3e4181282 100644 (file)
@@ -2026,9 +2026,9 @@ static NTSTATUS filename_convert_internal(TALLOC_CTX *ctx,
                }
        }
        if (!NT_STATUS_IS_OK(status)) {
-               DBG_ERR("open_pathref_fsp [%s] failed: %s\n",
-                       smb_fname_str_dbg(smb_fname),
-                       nt_errstr(status));
+               DBG_DEBUG("open_pathref_fsp [%s] failed: %s\n",
+                         smb_fname_str_dbg(smb_fname),
+                         nt_errstr(status));
                return status;
        }