From: Ralph Boehme Date: Tue, 2 Feb 2021 14:57:26 +0000 (+0100) Subject: smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from reply_search() X-Git-Tag: tevent-0.11.0~1813 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c2dad2aaef5eab75f3fe14219e9eca6724d6c99;p=thirdparty%2Fsamba.git smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from reply_search() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index c9820df2bb5..c59b67d58c6 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1834,9 +1834,6 @@ void reply_search(struct smb_request *req) } nt_status = openat_pathref_fsp(conn->cwd_fsp, smb_dname); - if (NT_STATUS_EQUAL(nt_status, NT_STATUS_STOPPED_ON_SYMLINK)) { - nt_status = NT_STATUS_OBJECT_NAME_NOT_FOUND; - } if (!NT_STATUS_IS_OK(nt_status)) { reply_nterror(req, nt_status); goto out;