summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-17 18:31:26 -0800
committerJeremy Allison <jra@samba.org>2009-12-17 18:31:26 -0800
commitf8ab38a8f211a11c7b006ea7cfb19aee526e12a4 (patch)
tree6bc9e2207ce44dc46102af5f6c6253d40f1f7fee /source3/smbd
parentcfbf62dbfd18465d1a3f699cd22a35f9303f87fe (diff)
downloadsamba-f8ab38a8f211a11c7b006ea7cfb19aee526e12a4.tar.gz
samba-f8ab38a8f211a11c7b006ea7cfb19aee526e12a4.tar.bz2
samba-f8ab38a8f211a11c7b006ea7cfb19aee526e12a4.zip
Vector correctly through reply_openerror() (which uses the same logic).
Jeremy.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 16f8bb592a..be50090192 100644
--- 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;
}