[Pkg-samba-maint] Bug#622802: /sbin/mount.cifs: windows shares can no loger be mounted by normal users

Ramon Caraballo jolinar35 at gmail.com
Thu Apr 14 18:40:37 UTC 2011

Package: cifs-utils
Version: 2:4.5-2
Severity: normal

After update to Squeeze normal users ar not allowed to mount windows shares 
with smbmount (i.e /sbin/mount.cifs) All of them get the message:
"mount.cifs: Permission Denied: no match for /home/user/dir in /etc/fstab" 
As root I can mount windows shares 
But I need the normal users 
can mount windows shares without writting /etc/fstab

The recipe of setuid root /sbin/mount.cifs no longer works

Can I workaround this problem?
Please Help.!!!

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (700, 'stable'), (500, 'stable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages cifs-utils depends on:
ii  libc6             2.11.2-10              Embedded GNU C Library: Shared lib
ii  libkeyutils1      1.4-1                  Linux Key Management Utilities (li
ii  libkrb5-3         1.8.3+dfsg-4           MIT Kerberos runtime libraries
ii  libtalloc2        2.0.1-1                hierarchical pool based memory all
ii  samba-common      2:3.5.6~dfsg-3squeeze2 common files used by both the Samb

cifs-utils recommends no packages.

Versions of packages cifs-utils suggests:
pn  smbclient                     <none>     (no description available)

-- no debconf information

More information about the Pkg-samba-maint mailing list