[Bug 98658] Re: cifs doesn't support connecting as guest

Bug Watch Updater 98658 at bugs.launchpad.net
Wed Dec 28 18:27:49 UTC 2011


** Changed in: samba
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/98658

Title:
  cifs doesn't support connecting as guest

Status in Samba:
  Fix Released
Status in “samba” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: samba

  I'm using a stock Edgy installation. I simply enabled Samba using the
  GUI tools and tried connecting from another Linux machine. The
  mount.cifs manpage describes a "guest" option, but connecting with
  this option doesn't work:

  ket% sudo mount.cifs //mog.local/share /mnt -o guest
  mount error 13 = Permission denied
  Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
  ket%

  However this option does work with mount.smb vs. mount.cifs:

  ket% sudo mount.smb //mog.local/share /mnt -o guest
  Anonymous login successful
  ket%

  As a workaround, I created a user "anonymous" with blank password:

  ket% sudo mount.cifs //mog.local/share /mnt -o user=anonymous,password=
  ket% ls /mnt
  Movies  MythVideo
  ket%

  However this is not a perfect solution: The autofs package's
  /etc/auto.smb script uses cifs by default and I don't want to have to
  create a credfile for "anonymous" with blank password, I want autofs
  to work with my Ubuntu Samba server out of the box.

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416515

  Why doesn't connecting to Ubuntu with cifs and the guest option work
  like connecting to Ubuntu with smb and the guest option?

  What needs to change so:

  ket% sudo mount.cifs //mog.local/share /mnt

  - or -

  ket% sudo mount.cifs //mog.local/share /mnt -o guest

  successfully connect, thereby enabling autofs to work out of the box?

  Thanks for maintaining Samba in Ubuntu! Jack

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/98658/+subscriptions




More information about the foundations-bugs mailing list