[Bug 389049] [NEW] usershares guest_ok=y results in Permission denied error
Public bug reported: 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: mi...@dutier:~$ cat /var/lib/samba/usershares/public #VERSION 2 path=/home/mihai/Public comment= usershare_acl=S-1-1-0:R guest_ok=y I tried accessing the usershare using: -nautilus Can't mount location Failed to mount Windows share -mount.cifs mi...@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 mi...@dutier:~$ smbclient -N //dutier/Public Anonymous login successful Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.3.2] tree connect failed: NT_STATUS_BAD_NETWORK_NAME Every time I get the same error in the samba log: [2009/06/18 17:24:41, 0] smbd/service.c:make_connection_snum(1073) '/home/mihai/Public' does not exist or permission denied when connecting to [public] Error was Permission denied I can access the same usershare using a username: -mount.cifs mi...@dutier:~$ sudo mount.cifs //dutier/public Media/tmp/ -o user=mihai -smbclient mi...@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 NonfreeKernelModules: nvidia 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 ** Affects: samba (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 389049] Re: usershares guest_ok=y results in Permission denied error
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/28067874/Dependencies.txt -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 389049] Re: usershares guest_ok=y results in Permission denied error
At least one other person has the same problem: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/204703/comments/4 -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 204703] Re: usershare: insuffisant permissions for anonymous login
I also encountered this problem in Jaunty. I created a new bug report: https://bugs.launchpad.net/bugs/389049 -- usershare: insuffisant permissions for anonymous login https://bugs.launchpad.net/bugs/204703 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 389049] Re: usershares guest_ok=y results in Permission denied error
@Montel Edwards The commenter from the other bug I was referring too was advised to open a separate bug: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/204703/comments/5 ** This bug is no longer a duplicate of bug 204703 usershare: insuffisant permissions for anonymous login -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 389049] Re: usershares guest_ok=y results in Permission denied error
mi...@dutier:~$ ls -ld /home/mihai/ drwx-- 86 mihai mihai 12K 2009-06-18 20:37 /home/mihai/ mi...@dutier:~$ ls -ld /home/mihai/Public/ drwxr-xr-x 2 mihai mihai 4,0K 2009-06-18 14:28 /home/mihai/Public/ I added the execute bit on /home/mihai and it now works. Since the permission was there by default and I removed it, I'm marking this bug as invalid. -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 389049] Re: usershares guest_ok=y results in Permission denied error
mi...@dutier:~$ ls -ld /home/mihai/ drwx-- 86 mihai mihai 12K 2009-06-18 20:37 /home/mihai/ mi...@dutier:~$ ls -ld /home/mihai/Public/ drwxr-xr-x 2 mihai mihai 4,0K 2009-06-18 14:28 /home/mihai/Public/ I added the execute bit on /home/mihai and it now works. Since the permission was there by default and I removed it, this bug as invalid. ** Changed in: samba (Ubuntu) Status: Incomplete = Invalid -- usershares guest_ok=y results in Permission denied error https://bugs.launchpad.net/bugs/389049 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs