delete on close problem

Jeremy Allison jra at
Wed Nov 14 14:06:01 GMT 2001

On Wed, Nov 14, 2001 at 04:55:58PM -0500, Scott Moomaw wrote:

> Good news/bad news . . . we tried things with "large readwrite = yes" and
> got the same issue.  Just a few minutes ago though, Command Antivirus
> released an update that once applied corrects the problem.  Among the
> fixes in the release notes for the AV upgrade:
>   "Some customers reported that when MS Windows NetWare(r) Client
>    is installed, temporary files are created repeatedly when saving
>    a MS-Office application file from Windows NT to a NetWare server.
>    This has been fixed."
> We do not have a Netware client loaded nor did we change anything on the
> client between the w2k->samba failure and the w2k->w2k success.

Hmmmmm. I guess that's good news. Although this one is driving me nuts :-).
I don't suppose you could get some info from Command that would explain
what they changed in their Win32 code to fix the problem ?

Just one last paranoia test :-). Can you try the following paranoia
fix on a machine without the update ?

It's the only difference I can see in the open call between us and
them :-).


Index: smbd/nttrans.c
RCS file: /data/cvs/samba/source/smbd/nttrans.c,v
retrieving revision 1.138
diff -u -r1.138 nttrans.c
--- smbd/nttrans.c      13 Nov 2001 01:35:20 -0000      1.138
+++ smbd/nttrans.c      14 Nov 2001 22:04:25 -0000
@@ -819,7 +819,12 @@
        if(oplock_request && EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type))
                smb_action |= EXTENDED_OPLOCK_GRANTED;
+#if 1 /* JRATEST */
+       /* W2K sends back 42 words here ! */
+       set_message(outbuf,42,0,True);
        p = outbuf + smb_vwv2;

More information about the samba-technical mailing list