Under Linux (Ubuntu 12.04) I want to mount a windows share / windows partition named
//winshared on the network. I do not know the IP or anything else.
On one Ubuntu system, I am able to mount a directory with
mount //winshared/mypath /mnt/win
while on one other Ubuntu system the exact same command just gives
mount error: could not resolve address for winshared: Unknown error
Network settings seem to be same on both systems, and I installed
samba (the latter with errors). Do I need to instal something else? Do I need to configure something? How to find out the crucial differences between both systems to get the same mount work on both systems?
When I use
smbclientto connect to the windows partition/share/whatever, it works on the first system but not on the other system. The error is:
Connection to winshared failed (Error NT_STATUS_BAD_NETWORK_NAME)
Following this tutorial I installed
cifs-utils, but the
mountcommand from above still gives the same error, which is NOT described in the tutorial.
I also have an entry in
//winshared/mypath /mnt/win cifs uid=alexander,credentials=/etc/samba/wincred 0 0
with the file
/etc/samba/wincredidentical to a same file on the system the mount works. The md5sum of both files are identical. Therefore, an error regarding credentials can be excluded.