← Back to team overview

touch-packages team mailing list archive

[Bug 594420] Re: The mount command in Ubuntu 10.04 does not recognize the credentials keyword for cifs filesystems in the /etc/fstab file

 

That isn't a bug; this option is provided by cifs-utils so you need to
have it installed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/594420

Title:
  The mount command in Ubuntu 10.04 does not recognize the credentials
  keyword for cifs filesystems in the /etc/fstab file

Status in util-linux package in Ubuntu:
  Expired

Bug description:
  Binary package hint: util-linux

  I had altered the /etc/fstab to automount some samba shares at bootup.
  I had set up a credentials file with the username and password in each
  users account. This worked fine in Ubuntu 9.10, but has not worked
  since I upgraded to 10.04.

  I believe the problem is that the mount command in 10.04 does not
  recognize the credentials keyword. For example, with the following
  line in my /etc/fstab file:

  //192.168.0.110/user1  /home/user1/Network  cifs
  credentials=/home/user1/.smbcredentials  0  0

  and the following .smbcredentials file in /home/user1:

  username=user1
  password=password1

  I get the following error on issuing a mount -a command:

  user1@User1-Laptop:~$ sudo mount -a
  mount: wrong fs type, bad option, bad superblock on //192.168.0.110/user1,
         missing codepage or helper program, or other error
         (for several filesystems (e.g. nfs, cifs) you might
         need a /sbin/mount.<type> helper program)
         In some cases useful info is found in syslog - try
         dmesg | tail  or so

  
  Altering the /etc/fstab file to the following works perfectly:
  //192.168.0.110/user1  /home/user1/Network  cifs  username=user1, password=password1  0  0

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mount 2.17.2-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  Architecture: i386
  Date: Mon Jun 14 21:44:45 2010
  ProcEnviron:
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: util-linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/594420/+subscriptions