git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdae18b
)
r6199: Only do the strange DOS error for openX, not trans2open.
author
Jeremy Allison
<jra@samba.org>
Mon, 4 Apr 2005 20:40:39 +0000
(20:40 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:56:28 +0000
(10:56 -0500)
Jeremy.
(This used to be commit
65970dfc5b8f174fe29201789d6ddcf8802ad48c
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index cbb350ebb7dc85a33a96ac6269f40c857ab462a5..e7f44a659253677feb2b8e564b1afd8edb7b784f 100644
(file)
--- 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);
}
}