Does anyone know if there is a root cause and solution to the OS X 10.6 Samba issues? We are seeing very slow connects from 10.6.2 to Windows Server 2003 via samba.
(smbclient connects fast every time)
Mac OS X's TCP delayed ack implementation's default mode of operation seems to run afoul of some SMB servers on some networks. Do this:
...and see if it's set to 3 (the default, at least as of Mac OS X v10.6 "Snow Leopard"). If it is, try setting it to 0 (off):
...and re-run your test. You may need to unmount any mounted SMB shares and re-mount them, so that you're creating new TCP connections to the server after changing your Delayed Ack setting.
If that solves the problem, you can make that change automatically take effect on every boot by creating a file:
and have it contain the line:
Is OSX bound to the AD or running stand alone. If its part of the AD I would check your directory services logs (under Application->Utilities->Console). I have seen issues where OS X guest are waiting to a connection to a no longer present Domain Controller to timeout before they connect.
The Second thing to check is the DNS lookup. Samba can use both NetBIOS and DNS to find hosts to connect to, typically DNS is the quicker of the two. If it is a name resolution issue you should be able to get and idea of it by connecting directly via the IP address.