LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba will not connect to one member of my network (https://www.linuxquestions.org/questions/linux-networking-3/samba-will-not-connect-to-one-member-of-my-network-4175505274/)

nini09 05-30-2014 02:45 PM

lmhosts is the Samba NetBIOS name to IP address mapping file. It is very similar to the /etc/hosts file format, except that the hostname component must correspond to the NetBIOS naming format.

paul1945 06-01-2014 06:17 AM

Quote:

Originally Posted by nini09 (Post 5179521)
lmhosts is the Samba NetBIOS name to IP address mapping file. It is very similar to the /etc/hosts file format, except that the hostname component must correspond to the NetBIOS naming format.

Thanks for that.
Does that mean there is an error or omission in some file that needs to be corrected?
Quote:

Trying cifs mount manually can help you isolate the issue. Make sure it is path name issue. Browsers always use name to connect.
Tried to mount the NAS (gwydion) with the following code:
Code:

sudo mount -t cifs -o guest //192.168.1.3/drive_c /home/paul/network
without luck (drive_c is the NAS root share); tried a few different permutations of this; again without luck.
Had a look at the cifs manual but found I did not understand a word of it.
Then tried:
Code:

sudo mount -t cifs -o guest //gwydion/drive_c /home/paul/network
And this worked straight away, but although I could copy files from the NAS to the Ubuntu machine, this was not possible the other way; which is also the case with the FTP connection I am currently using. Maybe some fiddling with the NAS shares may solve this, although for security reasons I do not want other users to be able to go root on the NAS from the Router.
Installed "Putty" the SSH Client, on the Ubuntu machine and found this to work fine as far as getting into the Debian root on the NAS is concerned.
I must say I am getting to learn a whole new range of functions, although I am still in the dark when it comes to understanding what is ailing the Samba connection on the Ubuntu machine. Paul.


All times are GMT -5. The time now is 06:40 PM.