From db69f6fae9f726ac6598a600b4e6e5e1a8ba96e9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 4 Apr 2005 20:40:39 +0000 Subject: r6199: Only do the strange DOS error for openX, not trans2open. Jeremy. (This used to be commit 65970dfc5b8f174fe29201789d6ddcf8802ad48c) --- source3/smbd/trans2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index cbb350ebb7..e7f44a6592 100644 --- a/source3/smbd/trans2.c +++ b/source3/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); } } -- cgit