Bug#672497: full support for usershares (public shares)

May 11th, 2012 - 11:20 am ET by email.bug | Report spam
Package: samba

The default samba configuration in debian allows regular users to
create shares with "net usershare" and its (filemanager) GUI frontends.
(as of #443230)

However, users are not able to make their shares public.
(e.g. nautilus-shares option is grayed out)

To enabling this funtionality, one still needs to add the following settings
manually:
usershare allow guests = yes
map to guest = bad user

As the system shares defined in the default config have explicit
"guest ok = no" lines, it looks to me that it should not produce a problem to
add these settings to the default global section, or define them at compile time.

Nevertheless, to limit the sharing to files owned by the creator of a share,
the following may be a suitable default:
usershare owner only = yes

Please, adjust the defaults for full support for usershares.



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 6 repliesReplies Make a reply

Replies

#1 Christian PERRIER
May 11th, 2012 - 01:50 pm ET | Report spam

Quoting ():

As the system shares defined in the default config have explicit
"guest ok = no" lines, it looks to me that it should not produce a problem to
add these settings to the default global section, or define them at compile time.

Nevertheless, to limit the sharing to files owned by the creator of a share,
the following may be a suitable default:
usershare owner only = yes

Please, adjust the defaults for full support for usershares.




I'm not keen for doing that. Once again, that would make the Debian
samba package settings to diverge from upstream defaults and, as
written in several bugs in the past, this is something we try to avoid
as much as possible.

So, such choice should be left to the local admin.








To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics