git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544767f
)
smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from copy_file()
author
Ralph Boehme
<slow@samba.org>
Tue, 2 Feb 2021 15:00:32 +0000
(16:00 +0100)
committer
Ralph Boehme
<slow@samba.org>
Fri, 5 Feb 2021 06:22:35 +0000
(06:22 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 11174bc0e4836e2f5fa4de2fe4c4c16fa217047c..45a2a298f65c9f064d224ca68a5b85392f87c62d 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-8559,10
+8559,6
@@
NTSTATUS copy_file(TALLOC_CTX *ctx,
}
status = openat_pathref_fsp(conn->cwd_fsp, smb_fname_dst);
- if (NT_STATUS_EQUAL(status, NT_STATUS_STOPPED_ON_SYMLINK)) {
- status = NT_STATUS_OBJECT_NAME_NOT_FOUND;
- goto out;
- }
if (!NT_STATUS_IS_OK(status) &&
!NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_NOT_FOUND))
{