diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index a156409942..1bd87a5a13 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1878,7 +1878,7 @@ static NTSTATUS can_rename(connection_struct *conn, char *fname, uint16 dirtype, NULL, &fsp); if (!NT_STATUS_IS_OK(status)) { - return NT_STATUS_ACCESS_DENIED; + return status; } close_file(fsp,NORMAL_CLOSE); return NT_STATUS_OK; |