Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156492 - CIFS no longer mounts shares with 2.6.18 kernel
Summary: CIFS no longer mounts shares with 2.6.18 kernel
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 02:30 UTC by Dave O'Connor
Modified: 2007-01-12 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Current kernel .config (config-2.6.18-gentoo-r3,33.77 KB, text/plain)
2006-11-29 08:20 UTC, Dave O'Connor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave O'Connor 2006-11-28 02:30:22 UTC
Hello, 
I upgraded my kernel yesterday to 2.6.18-r3 and when I try to run mount -a I get the following:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

//fs.$domain.tld/vss /mnt/vss   cifs            credentials=/etc/ActiveDirectory.credentials    0 0

this is the contents of the credentials file:
username=*******
gid=samba
dmask=222
fmask=222
umask=0222
password=*******
workgroup=$domain

This worked yesterday and I can still mount from windows machines.


Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 27 Nov 2006 13:01:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.heanet.ie/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts audiofile bash-completion berkdb bitmap-fonts bonobo bzip2 calendar cdb cdinstall cdparanoia cli cracklib crypt cups curl curlwrappers dbus dlloader doc dri dvd eds elibc_glibc emboss encode esd ethereal exif fam ffmpeg firebird flac foomaticdb fortran ftp gd gif gnome gpm gstreamer gtk gtk2 iconv icq imlib innodb input_devices_keyboard input_devices_mouse interbase ipv6 isdnlog jabber java javascript jpeg jpeg2k junit kde kernel_linux lesstif libg++ libwww lm_sensors mad maildir mcal mikmod mime ming mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin oci8-instant-client odbc offensive ogg opengl oracle oss pam pcre pdf perl php png postgres pppd python qt3 quicktime readline reflection samba sdl session simplexml sockets socks5 spell spl sse sse2 ssl startup-notification svg tcl tcltk tcpd theora tiff tokeniser truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vhosts video_cards_i810 videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dave O'Connor 2006-11-29 08:20:09 UTC
Created attachment 102992 [details]
Current kernel .config

This is my kernel config, which I should really have added.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-11-30 17:29:49 UTC
Which kernel did you upgrade from? Does it definitely still work in the old kernel?
Comment 3 Dave O'Connor 2006-12-07 02:00:37 UTC
(In reply to comment #2)
> Which kernel did you upgrade from? Does it definitely still work in the old
> kernel?
> 

I've just check this again with 2.6.17-gentoo-r7 and it works fine with that.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2006-12-17 12:23:25 UTC
Still reproducible on 2.6.19?
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2007-01-11 19:37:41 UTC
see comment #4
Also, I think the problem is that you are using workgroup=$domain rather than domain=$domain
if that doesn't help, try adding it to the mount options in fstab. We had a similar problem here where old kernels did not require domain= but new kernels do.
Comment 6 Dave O'Connor 2007-01-12 00:47:01 UTC
sorry I didn't get a chance to get back to you sooner. I was experiencing that job in work and have left that job now so can't reproduce it any longer. This could probably be closed now.

Apologies again
Regards