LAN plugin problem - possible bug in NetBIOS name resolution
Posted: 2013-07-12, 08:34 UTC
There seems to be a bug in the LAN plugin that sometimes prevents it from resolving the Windows host name. The plugin shows an "Unknown host" error after the "Getting directory" message when trying to connect. At the same time, if the IP address of the host is specified instead of NetBIOS name, the connection is successful. I looked up the network activity with Wireshark and found that the phone sends 2 NetBIOS name service queries (broadcast on port 137):
NB PC2<1d>
NB PC2<20>
querying for a host named PC2 which is a local master browser or a server respectively. These queries are never replied.
However, when I ping the PC2 from a Windows machine, I see the following query:
NB PC2<00>
which asks for a host named PC2 which is a Workstation/Redirector. This query is successfully replied by the PC2 workstation:
NB 192.168.17.109.
Therefore I think that if the LAN plugin sent the query with <00> (Workstation) service value, the connection would be successful.
The Windows host is running Windows 7 Ultimate.
I can email the Wireshark capture files if it will help.
NB PC2<1d>
NB PC2<20>
querying for a host named PC2 which is a local master browser or a server respectively. These queries are never replied.
However, when I ping the PC2 from a Windows machine, I see the following query:
NB PC2<00>
which asks for a host named PC2 which is a Workstation/Redirector. This query is successfully replied by the PC2 workstation:
NB 192.168.17.109.
Therefore I think that if the LAN plugin sent the query with <00> (Workstation) service value, the connection would be successful.
The Windows host is running Windows 7 Ultimate.
I can email the Wireshark capture files if it will help.