Ubuntu – Mount cifs of shared windows folder problem

cifsmountshared-folderssmb

I've some issues with a windows share on Ubuntu 14.04 LTS.

  1. Installed cifsutils`:

    sudo apt-get install cifs-utils
    
  2. Created mountpoint

    sudo mkdir /mnt/temp
    
  3. Trying to mount a shared folder

    sudo mount -t cifs //fileserver/share /mnt/temp -o username=user,password=xxx
    

My problem is that the console hangs forever. I've waiting several minutes. If I enter wrong user/password it tells me Permission denied.

Update:

Response from Ubuntu Host computer:

nmap -p -v 445 fileserver -P0

host seems down / Filesharing seems to work though!

Ubuntu client computer (Inside vmware):

nmap -p -v 445 fileserver -P0

Host seems down / Filesharing doesn't work!

Maybe a lead: To autorize the fileshare I have to login on the domain.

Any suggestions?

Best Answer

Finally I got it to work.

I used the ip-address (192.168.1.11) instead of fileserver.

When ping:ing the fileserver name on the client I got ping response from another ip/computer (192.168.1.16) than I got from the host computer (192.168.1.11) !

Don't know why the dns name was linked to wrong ip on the client computer?

Related Question