[PATCH 5/8] Bug 9395 - Samba fails the simple_nodelete test of smb2.rename tests from master.
Jeremy Allison
jra at samba.org
Fri Nov 16 12:54:17 MST 2012
Remove an unncessary error code mapping.
Signed-off-by: Jeremy Allison <jra at samba.org>
---
source3/smbd/reply.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 1235318..823637b 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -6372,8 +6372,6 @@ NTSTATUS rename_internals_fsp(connection_struct *conn,
DEBUG(3, ("rename_internals_fsp: Error %s rename %s -> %s\n",
nt_errstr(status), smb_fname_str_dbg(fsp->fsp_name),
smb_fname_str_dbg(smb_fname_dst)));
- if (NT_STATUS_EQUAL(status,NT_STATUS_SHARING_VIOLATION))
- status = NT_STATUS_ACCESS_DENIED;
goto out;
}
--
1.7.7.3
More information about the samba-technical
mailing list