SMB/CIFS Share -- Setup in Ubuntu

    • OMV 2.x
    • SMB/CIFS Share -- Setup in Ubuntu

      Hi all,

      finally I managed to get the SMB/CIFS activated.
      Also the shares are enabled and I guess I did it so far in the right way.

      When I go to Nautilus and try to see the workgroup I can't see any of the shares.

      I installed

      Source Code

      1. ​sudo apt-get install cifs-utils
      shouldn't I have the possibility to see the shares then?

      • Auswahl_012.png

        18.92 kB, 743×215, viewed 486 times
    • It makes me crazy "mounting under Ubuntu is a nightmare for me.

      I placed below entry into /etc/fstab/

      Source Code

      1. ​// /mnt/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

      When I run mount -a I get the following error:

      Source Code

      1. ​root@DK8888:~# mount -a
      2. error 2 (No such file or directory) opening credential file /home/ubuntuusername/.smbcredentials

      I can't see what I should have done wrong, but else I know it would work.
    • I did some changes in the mount string:

      Source Code

      1. ​// /mnt/windowsshare cifs credentials=/home/snofla/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

      When running mount -a

      I get the following error:

      Source Code

      1. ​root@DK8888:~# mount -a
      2. Retrying with upper case share name
      3. mount error(6): No such device or address
      4. Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)