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:
8f8c797
)
Vector correctly through reply_openerror() (which uses the same logic).
author
Jeremy Allison
<jra@samba.org>
Fri, 18 Dec 2009 02:26:53 +0000
(18:26 -0800)
committer
Jeremy Allison
<jra@samba.org>
Fri, 18 Dec 2009 02:32:47 +0000
(18:32 -0800)
Jeremy.
(cherry picked from commit
d1a5387580182884d3cc875f3f404ff8377c1e92
)
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index 16f8bb592a55e21e3cd3183d06345136c2ea8e6d..be50090192df017f67d972d9e971ebd131ecffb9 100644
(file)
--- a/
source3/smbd/nttrans.c
+++ b/
source3/smbd/nttrans.c
@@
-580,12
+580,7
@@
void reply_ntcreate_and_X(struct smb_request *req)
/* We have re-scheduled this call, no error. */
goto out;
}
- if (NT_STATUS_EQUAL(status, NT_STATUS_OBJECT_NAME_COLLISION)) {
- reply_botherror(req, status, ERRDOS, ERRfilexists);
- }
- else {
- reply_nterror(req, status);
- }
+ reply_openerror(req, status);
goto out;
}