[Samba] Possible XP bug/Samba interaction

Steve Meuse smeuse at mara.org
Thu Jul 20 01:18:05 GMT 2006

I'm posting this for the archive because I've been beating my head against the wall on this problem for a while now and wanted to have it documented for anyone else with a similar issue:

Problem: Upon boot, Windows XP Professional version 2002 with Serivce pack 2, does not apply advanced TCP/IP options from the registry when connecting to window shares.

Detail: I noticed that my Samba shares were exhibiting really poor performance. When using a network analyzer to look at the tcp info I noticed that the receive window size the XP machine was advertising was 64240, not the larger window size I had manually configured in the registry. Tcp connections to other machines appeared to be normal, using the larger receive window size. No amount of knob twiddling was helping the situation.

If I disconnected the mounted network drive and re-connected a few moments later it would start working properly, using the larger window size. 

When I created the network shares I selected "reconnect at logon" so the shares are mounted automatically upon boot. 

After the initial boot I run the analyzer, disconnect the mount and watch the tcp session terminate. I verify on the Samba machine that the socket isn't in use any longer. I then wait a few, then re-mount the drive and then the tcp syn has the appropriate flags set (window scaling, etc).

I've been googling for information on this for a while now, but have come up empty handed. Is anyone else having this issue?


More information about the samba mailing list