The credential file is accessible I've just repeated the mount in two
ways:

First with fstab looking like this:
//Server/Share   /mnt/Share      cifs 
iocharset=utf8,user,username=dietmarw,password=password,uid=dietmarw,gid=dietmarw,auto
 0 0

This works fine.

Second with fstab looking like this:
//Server/Share     /mnt/Share       cifs 
iocharset=utf8,user,credentials=/home/dietmarw/.smb/myacc,uid=dietmarw,gid=dietmarw,auto
 0 0

This gives:
[EMAIL PROTECTED]:/etc# mount /mnt/ForschungMDT/
mount: wrong fs type, bad option, bad superblock on 
//130.149.48.9/ForschungMDT,       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

So dmesg shows:
[18802744.064000]  CIFS VFS: No username specified
[18802744.064000]  CIFS VFS: cifs_mount failed w/return code = -22

But the credential file is setup conforming to the manual (and worked on
breezy as is) and looks like this:

username=dietmarw
password=password

This actually happend to collegue of mine in the exact same way after he
had upgraded from breezy to dapper.

-- 
argument "credentials=..." doesn't work any more in fstab
https://launchpad.net/bugs/48997

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to