When connecting from my XP machine to a network share on another XP machine (both Pro-SP3), I never get prompted to enter the username & password. After 15+ minutes I finally get the dialog prompting me for a username and password.
Yes, I have disabled Windows Firewall & Anti-Virus. I've also set the NoRecentDocsNetHood registry flag so My Network Places doesn't cache all the remote shares I visit.
Connecting to both XP machines using smbclient on a FreeBSD machine is instantaneous.
I dug out Wireshark to see what is actually being sent over the network and to my surprise I saw that all traffic between the two machines was TCP: not a UDP packet to be seen. Also, I saw that my machine was attempting to connect using the following ports: 80, 139, 445.
I can understand 139 & 445, but I can't for the life of me understand why it's attempting to connect via HTTP.
From Wireshark I've seen that it attempts the following sequence:
1). Ping remote host (gets a reply)
2). Connect via TCP 445
3). SMB protocol negatiation & attempt to login with current user
4). Get STATUS_LOGIN_FAILURE (my current user isn't accepted)
5). Steps 2-4 repeated another 2 times
6). Attempt to connect to TCP 80 for the next 3 minutes (fails as it's not open) WTF?
7). Goto 1