Ubuntu can't mount windows share

12,849

Make sure your account has permissions to mount. Use smbclient to try to access the drive - the smbclient command will give much more meaningful error messages why you cannot mount.

For example:

smbclient \\machinename\foldername -U [username] [password]

If it works, you will get an smb prompt like:

smb>

If not, you will get an error, such as NT_LOGON_FAILUIRE (password wrong) or if the login works but you do not have access on that folder, it will give you that error (which I can't recall off the top of my head)

Check here for info on smbclient and smbclient syntax:
Mounting Windows Shares On Linux Using Samba/CIFS/SMBFS

Share:
12,849

Related videos on Youtube

Dan
Author by

Dan

Updated on September 18, 2022

Comments

  • Dan
    Dan over 1 year

    I want to access by termin a Windows share so on my Ubuntu 14.04 system I executed the following command:

    sudo mount.cifs -o username=dana //192.168.1.4/Users  /mnt/
    

    After entering the sudo password and the windwos user password I got these error

    mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)