cifs doesn't support connecting as guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
Unknown
|
|||
samba (Ubuntu) |
Fix Released
|
Undecided
|
Chuck Short |
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,
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://
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
Changed in samba: | |
status: | New → Incomplete |
Changed in samba: | |
status: | Unknown → New |
Changed in samba: | |
status: | Confirmed → Fix Released |
Changed in samba: | |
status: | New → Fix Released |
Hello,
Does the work around mention in the debian bug report work for you?
Thanks
chuck