Announcement

Collapse
No announcement yet.

Samba mount on Feisty with credentials option

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Samba mount on Feisty with credentials option

    Hello,

    On my Edgy installation I mounted samba shares with this in fstab

    Code:
    //192.168.1.2/movies /home/joacim/Frodo/Movies cifs 	credentials=/home/joacim/.smbcredentials,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0
    The file /home/joacim/.smbcredentials contains:
    username=joacim
    password=topsecret

    When upgraded to Feisty this will not work and I get when mounting (mount -a):

    mount: wrong fs type, bad option, bad superblock on //192.168.1.2/movies,
    missing codepage or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    If I change into:
    Code:
    //192.168.1.2/movies /home/joacim/Frodo/Movies cifs 	user=joacim,password=topsecret,rw,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0
    It works, why is that??

    #2
    Re: Samba mount on Feisty with credentials option

    Originally posted by 4integration
    credentials=/home/joacim/.smbcredentials
    How about cred= (instead of "credentials=") ... just an idea from my Samba book

    Comment


      #3
      Re: Samba mount on Feisty with credentials option

      No, it didn't work

      It should be valid with "credentials=" according to http://www.die.net/doc/linux/man/man8/mount.cifs.8.html and it did work just fine with Edgy.

      Can it be anything with smb.conf (does the client use that when using cifs ??)

      Comment


        #4
        Re: Samba mount on Feisty with credentials option

        This is just a guess, but maybe this can help you:
        https://bugs.launchpad.net/ubuntu/+s...mba/+bug/95460
        samba 3.0.24 on feisty is broken
        I hope so becuase it did me
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment

        Working...
        X