usershares guest_ok=y results in "Permission denied" error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
Usershare having guest_ok=y cannot be mounted as guest. I have the default smb.conf from Jaunty which includes:
usershare allow guests = yes
I tried creating such a share using both nautilus and net usershare. The resulting file is identical:
mihai@dutier:~$ cat /var/lib/
#VERSION 2
path=/home/
comment=
usershare_
guest_ok=y
I tried accessing the usershare using:
-nautilus
Can't mount location
Failed to mount Windows share
-mount.cifs
mihai@dutier:~$ sudo mount.cifs //dutier/public Media/tmp/ -o guest
retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
-smbclient
mihai@dutier:~$ smbclient -N //dutier/Public
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.3.2]
tree connect failed: NT_STATUS_
Every time I get the same error in the samba log:
[2009/06/18 17:24:41, 0] smbd/service.
'/home/
I can access the same usershare using a username:
-mount.cifs
mihai@dutier:~$ sudo mount.cifs //dutier/public Media/tmp/ -o user=mihai
-smbclient
mihai@dutier:~$ smbclient //dutier/Public
Enter mihai's password:
Domain=[DUTIER] OS=[Unix] Server=[Samba 3.3.2]
smb: \>
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: samba 2:3.3.2-1ubuntu3
ProcEnviron:
LANG=ro_RO.UTF-8
SHELL=/bin/bash
SourcePackage: samba
Uname: Linux 2.6.28-11-generic x86_64
At least one other person has the same problem: /bugs.launchpad .net/ubuntu/ +source/ samba/+ bug/204703/ comments/ 4
https:/