First make sure that you can access the computer that you are trying to connect to via its internal IP address.
If you are able to do so , let’s move to the next step which is to check to see if you have “Winbind” installed.
dpkg -l | grep winbind
if it does not exist, install it using the following command;
sudo apt-get install winbind
Edit the /etc/nsswitch.conf and add “wins” to the “hosts” line
hosts: files dns mdns4 wins
if the installation is successful, you are now ready to access your internal computers using their NETBIOS names.