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:
e5466ff
)
r20412: Placeholder to remind me to write a torture test
author
Jeremy Allison
<jra@samba.org>
Sat, 30 Dec 2006 03:02:59 +0000
(
03:02
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:16:48 +0000
(12:16 -0500)
for this error code.
Jeremy.
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 1ebdf16b8aecfd8eec3e33dbd94722051328963c..14c7eb8fa8b3b07e509e989ce01ad839d7188c01 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/smbd/trans2.c
@@
-4871,6
+4871,13
@@
static int call_trans2mkdir(connection_struct *conn, char *inbuf, char *outbuf,
FILE_CREATE, 0, NULL, &fsp);
if (!NT_STATUS_IS_OK(status)) {
+#if 0
+ /* Do we need to do this here ? Need smbtorture test. JRA. */
+ if (!use_nt_status() && NT_STATUS_EQUAL(
+ status, NT_STATUS_OBJECT_NAME_COLLISION)) {
+ status = NT_STATUS_DOS(ERRDOS, ERRfilexists);
+ }
+#endif
return ERROR_NT(status);
}
close_file(fsp, NORMAL_CLOSE);