[Pkg-samba-maint] Bug#439435: /usr/share/man/man8/mount.cifs.8.gz: include in man mount.cifs: "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled" to enable uid to work

Greg Reagle greg.reagle at umbc.edu
Sat Aug 25 03:03:26 UTC 2007


Package: smbfs
Version: 3.0.14a-3sarge6
Severity: normal
File: /usr/share/man/man8/mount.cifs.8.gz


mount.cifs ignores the uid and gid options "when the target server
supports the CIFS Unix extensions".  This causes a serious problem when
the target server doesn't do the uid and gid properly.  I know because I
just experienced this problem tonight.  See
http://lwn.net/Articles/232430/ as a reference.

Ideally, the user should be able to instruct mount.cifs to use the
provided uid and gid options regardless of Unix extensions.

Another good thing to do would be to put the workaround solution in the
man page.  I know it works because I tried it tonight.  The workaround
is "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled" before mounting.

By the way, I actually did this on an Ubuntu Feisty system, but I am
reporting to Debian since I love Debian.  The SMB file server was an
Apple computer running Mac OS X.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages smbfs depends on:
ii  libc6                 2.3.2.ds1-22sarge6 GNU C Library: Shared libraries an
ii  libcomerr2            1.37-2sarge1       common error description library
ii  libkrb53              1.3.6-2sarge5      MIT Kerberos runtime libraries
ii  libldap2              2.1.30-8           OpenLDAP libraries
ii  netbase               4.21               Basic TCP/IP networking system
ii  samba-common          3.0.14a-3sarge6    Samba common files used by both th

-- no debconf information

-- 
"Of all the enemies to public liberty war is, perhaps, the most to be
dreaded, because it comprises and develops the germ of every other. War
is the parent of armies; from these proceed debts and taxes; and armies,
and debts, and taxes are the known instruments for bringing the many
under the domination of the few.  In war, too, the discretionary power
of the Executive is extended; . . . .  No nation could preserve its
freedom in the midst of continual warfare."
  James Madison, 1795, from Letters and Other Writings of James Madison




More information about the Pkg-samba-maint mailing list