svn commit: samba r20412 - in branches/SAMBA_3_0/source/smbd: .
jra at samba.org
jra at samba.org
Sat Dec 30 03:02:59 GMT 2006
Author: jra
Date: 2006-12-30 03:02:59 +0000 (Sat, 30 Dec 2006)
New Revision: 20412
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20412
Log:
Placeholder to remind me to write a torture test
for this error code.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/trans2.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c 2006-12-29 20:39:53 UTC (rev 20411)
+++ branches/SAMBA_3_0/source/smbd/trans2.c 2006-12-30 03:02:59 UTC (rev 20412)
@@ -4871,6 +4871,13 @@
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);
More information about the samba-cvs
mailing list