[Pkg-samba-maint] Bug#702840: samba: net usershare add fails silently

Steve Langasek vorlon at debian.org
Tue Mar 12 04:55:31 UTC 2013


severity -1 normal
tags -1 moreinfo
thanks

On Mon, Mar 11, 2013 at 08:59:14PM -0700, Andrew Kane wrote:
> Package: samba
> Version: 2:3.6.6-5
> Severity: grave
> Justification: causes non-serious data loss

You have not described a data loss bug.  Please don't overinflate bug
severities.

>    * What led up to the situation?
> Attempted to use net usershare add to add a guest share to local network.

>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 'net usershare add Music /media/Archives/music "some music" Everyone:R guest_ok=y'
> was the command issued.

>    * What was the outcome of this action?
> output from net usershare info:

> [Music]
> path=/media/Archives/shared-music/
> comment=some music
> usershare_acl=Everyone:R,
> guest_ok=y

> smbtree shows the server and $print but not Music on remote machine,
> thunar cannot see the server but smbtree can (but can't see the Music
> share) on local machine, thunar can see server but not Music

You say that you're trying to set up a share for guest access.  What is the
setting of 'usershare allow guests' on the server?  The upstream default for
this setting is 'no'; the default in the Debian-provided smb.conf is 'yes'.
Unless this is set to 'yes', users are not allowed to set up
guest-accessible shares.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130311/a57d6976/attachment.pgp>


More information about the Pkg-samba-maint mailing list