From: Jeremy Allison Date: Mon, 4 Apr 2005 20:40:39 +0000 (+0000) Subject: r6199: Only do the strange DOS error for openX, not trans2open. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~4987 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65970dfc5b8f174fe29201789d6ddcf8802ad48c;p=thirdparty%2Fsamba.git r6199: Only do the strange DOS error for openX, not trans2open. Jeremy. --- 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); } }