I have got a problem: I can not read a file from my Samba server (version 3.0.23d) with a simplified Samba client using "read raw" (SMS player on PS2), while reading the same file with the same client works perfectly with Windows XP.
I have analyzed exchanged packets between SAMBA and the client with Wireshark. One thing disturb me: packages returned by the server are duplicated. It's probably the cause of my problem with my simplified client.
I have joined the Wireshark dump of reading a file from Windows XP and SAMBA. 192.168.0.10 is the address of the Samba server, 192.168.0.99 is the address of the client, 192.168.0.11 is the address of the Windows XP server.
Do not take into account the frames marked [TCP Out-of-Order]. They are present because I had to make a man-in-the-middle to capture the flow.
As you can see it in the dump, for a read request ( "raw read", frame 13), 2 samba sessions of 3 frames are instantiated ( "new samba session", frames 15 and 23). What I find particularly strange is that these two sessions are perfectly identical. The data are the same, even ack identifiers.
Is this normal? What could be the cause of this duplication?
Under windows, the same request produces only one session (formatted identically: 3 packages, with the data cut in the same way)
I tried hundreds of server-side configuration, but I can not find the good parameters.
Could someone help me ?
Thank you in advance,
Created attachment 3289 [details]
Created attachment 3290 [details]
Windows server dump
This indeed looks extremely strange, 99% this is a Samba bug. Trying to reproduce here.
Almost nobody is using readraw these days anymore... :-)
BTW, did you try "read raw = no"?
Ok, this VERY much seems like a bug fixed on May 9 2007...
You can find the diff under
I'm closing this, please re-open if it does not fix the bug for you.