[Pkg-samba-maint] Bug#423971: cifs: -o guest yields root login

martin f krafft madduck at debian.org
Tue May 15 07:37:21 UTC 2007

Package: smbfs
Version: 3.0.24-6
Severity: normal
File: /sbin/mount.cifs

I cannot mount cifs as guest:

  piper:~# mount -t cifs -o guest //wall/pub /mnt --verbose
  parsing options: rw,guest

  mount.cifs kernel mount options unc=//wall\pub,ip=,user=root,ver=1,rw 
  mount error 13 = Permission denied

see the user=root. The server logs at debuglevel 3 also show that
it's root trying to log in.

  [2007/05/15 00:20:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X(1010)

Using smbfs instead of cifs makes the mount work. Specifying
a username/password to the mount.cifs command also works.

This may be a kernel bug. Feel free to reassign. Here is the module

  version:        1.45
  vermagic:       2.6.18-4-amd64 SMP mod_unload gcc-4.1
  srcversion:     B216779D40086B620A6B14F

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages smbfs depends on:
ii  libc6    2.5-7                           GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2007.04.07+dfsg-2 common error description library
ii  libkrb53 1.6.dfsg.1-3                    MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13.4                     OpenLDAP libraries
ii  netbase  4.29                            Basic TCP/IP networking system
ii  samba-co 3.0.24-6                        Samba common files used by both th

smbfs recommends no packages.

 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (GPG/PGP)
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20070515/de0c1acc/attachment.pgp 

More information about the Pkg-samba-maint mailing list