From f8ab38a8f211a11c7b006ea7cfb19aee526e12a4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 17 Dec 2009 18:31:26 -0800 Subject: Vector correctly through reply_openerror() (which uses the same logic). Jeremy. --- source3/smbd/nttrans.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3/smbd') 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; } -- cgit