[Pkg-samba-maint] Bug#673672: cifs-utils: mount.cifs problems when using mount -a
August Mayer
amayer at cosy.sbg.ac.at
Sun May 20 15:58:36 UTC 2012
Package: cifs-utils
Version: 2:4.5-2+squeeze1
Severity: normal
I tried to mount a CIFS filesystem automatically on boot, in my fstab:
//1.2.3.4/myshare /media/myshare cifs
rw,credentials=/etc/samba/myshare.creds,uid=myuser,forceuid,gid=users,forcegid,auto
0 0
This failed, but I got it to work with two workarounds:
1. The order "username - password - domain" in the credentials file did not
seem to work (mount -v -a -t cifs displayed an error, something with
"incorrectly formatted password: (null) ). I edited that to "username -
domain
- password", which works. However, I can't reproduce the issue now. Maybe
something else changed when I edited the file - line ending or invisible
chars
or something?
2. In /etc/init.d/mountall.sh, the mount command does not seem to actually
mount the cifs, although the fs is clearly in the -t list. When I add
another
mount command, this worked:
mount_all_local() {
mount -a -t
nonfs,nfs4,smbfs,cifs,ncp,ncpfs,coda,ocfs2,gfs,gfs2 -O
no_netdev
mount -v -a -t cifs -O no_netdev
}
-- System Information:
Debian Release: 6.0.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (51, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cifs-utils depends on:
ii libc6 2.11.3-3 Embedded GNU C Library:
Shared lib
ii libkeyutils1 1.4-1 Linux Key Management
Utilities (li
ii libkrb5-3 1.8.3+dfsg-4squeeze5 MIT Kerberos runtime libraries
ii libtalloc2 2.0.1-1 hierarchical pool based
memory all
ii samba-common 2:3.5.6~dfsg-3squeeze8 common files used by both
the Samb
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
ii smbclient 2:3.5.6~dfsg-3squeeze8 command-line SMB/CIFS
clients for
-- no debconf information
More information about the Pkg-samba-maint
mailing list