Created attachment 357548 [details]
-p1 patch to add configuration tab for user shares
Description of problem:
this patch adds support for user share in basic settings window
Version-Release number of selected component (if applicable):
after making the patch I realized the following issues:
1. the two os.mkdir should be moved to src/scsamba/core/samabBackend.py
2. something make the section.getKey('usershare path') returns /var/lib/samba/usershare even if the config file does not contain it which make the code confuses to think it's enabled while it's not.
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Gaa, kind of dropped that issue under the table... I've put the FutureFeature keyword on it so it won't happen again.
Muayyad, would you please describe to me how you use usershares, i.e. what your patch is intended to accomplish (since it needs to be changed anyway so that backend ops go into the proper modules etc.)? Thanks.
to enable usershare edit /etc/samba/smb.conf
to add something like this
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare allow guests = yes
usershare owner only = no
under [global] section
this will allow regular users to add shares through things like nautilus-share
(ie. right click a folder then share)
please see this:
patch in nautilus-share will give life back to the nonfunctional nautulis-share (which is functional)
but my patch to s-c-samba is just a **sample** to help people do the configuration nautilus-share needs
I say sample because it's just glade ui, it needs to be connected to some code the output the above conf snippet
Thanks for clarifying this.
(In reply to comment #3)
> I say sample because it's just glade ui, it needs to be connected to some code
> the output the above conf snippet
Ahh. I'll just take this as a Request for Enhancement then, should be doable (once I get around to put new features in ;-).
another option is to add the snippet above to /etc/samba/smb.conf in samba-common
*** This bug has been marked as a duplicate of bug 427413 ***