Public bug reported:

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

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
cifs doesn't support connecting as guest
https://launchpad.net/bugs/98658

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to