Samba problem: Unable to browse/access Windows network
I have Samba installed on my Ubuntu 6.10 machine. It is on a network with several Windows computers. I have finally configured Samba, with the help of the swat tool, to enable the Windows computers to see and access my shared files.
However, I am unable to browse or access any of the Windows computers from my Ubuntu computer using the Nautilus file browser. I've not tried any command-line Samba tool (I will try this ASAP, though). (I think this is probably the cause of my printing issue, too.) I'm not sure where to start troubleshooting. Can somebody please help me? |
I am going to try the information from this thread to see if it will help. The symptoms it describes are exactly the same as mine; I can access the computers by IP address, but not by name.
Output from smbtree is as follows: Code:
user@maindesktop-ub:~$ smbtree |
Have you got the samba-client installed? Take a look with Synaptic package manager to see if it is installed. If not, install it and try again.
|
Code:
user@maindesktop-ub:~$ sudo apt-get install samba-client |
Have you define the IP address to hostname in /etc/hosts?
This is the only way linux will now what a hostname is equal to an IP. It does not work like Windows Networking. Brian |
set the following veriable in the /etc/samba/smb.conf file.
workgroup= MSHOME not the work group name must be Capitalized or you will no be able to vie, read or write to the windows machines. |
Check to see if the nmbd service is running. If it's not, you should
1) See if you can get it running 2) If you can't (and, on my system, for some reason it can't find the url of the network), then change the method Nautilus uses to search for shares to be smbclient instead of the default method (sorry, forgot its name) that requires a running nmbd service. (There should be an option for setting the search method in the Nautilus configuration screens. I say "should" because I use KDE, and there is such a setting for konqueror, but I don't know for sure if there is one for Nautilus.) |
Quote:
From most of what I've read, it is possible to get Ubuntu to resolve netbois names. Quote:
Quote:
Code:
$ ps -e | grep nmbd |
From what I've read, I gather the winbindd service must be running to resolve WINS/Netbios names. I've installed winbind:
Code:
$ sudo apt-get install winbind I've restarted the machine. If I try to run it, it either doesn't start or starts and then stops; I cannot tell: Code:
$ sudo winbindd |
Never mind this post
|
Apparently, rebooting the machine and manually running 'sudo /etc/init.d/winbind start' fixes this issue. Let me do some testing; I'll be back later tonight or tomorrow with details.
|
I will be interested to see how this is resolved. I haven't heard of winbind, and I had this same problem.
On my own network, I set each linux machine to a fixed IP address. The router still uses DHCP, but happily assigns the chosen IP address for each machine. Once the IPs and hostnames are entered in the hosts file, the samba network works well. Rob |
I haven't had much time to research this, but as far as I can tell, installing winbind is what solved this. There are a few guides on the Ubuntu forums - try looking there. I don't think that winbindd is still running constantly, but using the command I mentioned above to run it ('sudo /etc/init.d/winbind start') might help.
Other than this, I'm really not sure exactly what would help. |
All times are GMT -5. The time now is 12:40 AM. |