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:
2703b3a
)
r20370: Now we've gone to the trouble of getting an NT status
author
Jeremy Allison
<jra@samba.org>
Thu, 28 Dec 2006 00:01:12 +0000
(
00:01
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:16:44 +0000
(12:16 -0500)
from open_file_ntcreate make sure we return it on rename
error.
Jeremy.
(This used to be commit
633f02fb860223585f388e64c1a2d770db52d4f0
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index a156409942bcc063637e32230fd2648fa2cfd559..1bd87a5a13b6442fdb0d327b4c4dbec4b1b284b9 100644
(file)
--- 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;