diff options
author | Jeremy Allison <jra@samba.org> | 2005-04-04 20:40:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:28 -0500 |
commit | db69f6fae9f726ac6598a600b4e6e5e1a8ba96e9 (patch) | |
tree | 5b62ae4edaad46714dbb56f5b89a1104bf6f77b8 /source3/smbd | |
parent | bdae18b799399b8834ed09b052e65660bcb08656 (diff) | |
download | samba-db69f6fae9f726ac6598a600b4e6e5e1a8ba96e9.tar.gz samba-db69f6fae9f726ac6598a600b4e6e5e1a8ba96e9.tar.bz2 samba-db69f6fae9f726ac6598a600b4e6e5e1a8ba96e9.zip |
r6199: Only do the strange DOS error for openX, not trans2open.
Jeremy.
(This used to be commit 65970dfc5b8f174fe29201789d6ddcf8802ad48c)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 3 |
1 files changed, 0 insertions, 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); } } |