[Samba] File writing strangeness

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Feb 23 01:04:57 MST 2011

On Tue, Feb 22, 2011 at 04:20:32PM -0500, Chris Nighswonger wrote:
> Attached is the verbose debug output of this client from the time it
> connects to the time the problem occurs. I've sanitized it a bit. I've not
> figured out how to sanitize the tcpdump, so it is not attached at present.
> To my uninitiated eyes, it appears that the transaction with the problem
> begins about line 4199 with the creation of MPLUSWIN.ZIP. At line 4373 I see
> a delete_on_close flag set which later results (as I would expect) in the
> file being presumably deleted at 4462. A bit later at 4718 the
> status is sent along to the client.
> This is strange as a check of that directory shows the file still exists
> albeit of 0b length.

Have you really watched it in exactly the moment that this
request is being issued? I'm asking because in 4917ff the
file is created again. To me it looks as if in this snipped
the server behaves right.

What we need is two tcpdumps, one against Samba where it
fails and one against Windows where it succeeds. If you
can't send them without an NDA, then you might want to
contact someone from http://www.samba.org/samba/support to
make a contract with and NDA.

Information on how to create useful network traces can be
found under http://wiki.samba.org/index.php/Capture_Packets.

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba mailing list