From 65970dfc5b8f174fe29201789d6ddcf8802ad48c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Apr 2005 20:40:39 +0000 Subject: [PATCH] r6199: Only do the strange DOS error for openX, not trans2open. Jeremy. --- source/smbd/trans2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index cbb350ebb7d..e7f44a65925 100644 --- a/source/smbd/trans2.c +++ b/source/smbd/trans2.c @@ -786,9 +786,6 @@ static int call_trans2open(connection_struct *conn, char *inbuf, char *outbuf, i if (open_ofun == 0) { if (GET_OPEN_MODE(open_mode) == DOS_OPEN_EXEC) { open_ofun = FILE_EXISTS_FAIL | FILE_CREATE_IF_NOT_EXIST; - } else { - END_PROFILE(SMBopenX); - return ERROR_FORCE_DOS(ERRDOS, ERRbadaccess); } } -- 2.47.3