[Samba] Problem reading file on SAMBA (read raw)
Vincent Gaudissart
gaudissart at gmail.com
Thu May 8 08:24:50 GMT 2008
Hi,
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.
On http://dl.free.fr/eItLaRvm2/samba_SMS.zip, I posted the Wireshark
dump (reading an MP3 file). 192.168.0.10 is the address of the Samba
server, 192.168.0.99 is the address of the client.
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 to debug my Samba?
Thank you in advance,
Best regards,
Pyrotech
More information about the samba
mailing list