From 1b3d70e9ae95892a70bd0f46ae5bf733c1bc9548 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 2 Feb 2021 16:01:19 +0100 Subject: [PATCH] smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from call_trans2findfirst() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Fri Feb 5 07:26:44 UTC 2021 on sn-devel-184 --- source3/smbd/trans2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a2eb6546474..72db5489f05 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2963,9 +2963,6 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd } ntstatus = openat_pathref_fsp(conn->cwd_fsp, smb_dname); - if (NT_STATUS_EQUAL(ntstatus, NT_STATUS_STOPPED_ON_SYMLINK)) { - ntstatus = NT_STATUS_OBJECT_NAME_NOT_FOUND; - } if (!NT_STATUS_IS_OK(ntstatus)) { reply_nterror(req, ntstatus); goto out;