[Pkg-samba-maint] Bug#781913: Bug#781913: please build bindings for Python3 and let samba-common-bin use them

Jelmer Vernooij jelmer at debian.org
Sun Apr 5 17:11:09 UTC 2015


On Sun, Apr 05, 2015 at 06:53:52PM +0200, Matthias Klose wrote:
> On 04/04/2015 10:14 PM, Jelmer Vernooij wrote:
> > On Sat, Apr 04, 2015 at 10:10:14PM +0200, Matthias Klose wrote:
> >> On 04/04/2015 08:47 PM, Jelmer Vernooij wrote:
> >>> On Sat, Apr 04, 2015 at 08:03:19PM +0200, Matthias Klose wrote:
> >>>> On 04/04/2015 07:40 PM, Jelmer Vernooij wrote:
> >>>>> On Sat, Apr 04, 2015 at 07:31:59PM +0200, Matthias Klose wrote:
> >>>>>> Package: src:samba
> >>>>>> Version: 2:4.1.13+dfsg-4
> >>>>>>
> >>>>>> please build bindings for Python3 and let samba-common-bin use them
> >>>>>
> >>>>> There are no Python3 bindings for Samba. Porting will be a large effort, and as
> >>>>> upstream we don't want to maintain support for two Python versions. 
> >>>>>
> >>>>> What do you need the Python3 bindings for? Perhaps there are alternatives.
> >>>>
> >>>> I was looking what is keeping Python2 on the Ubuntu desktop. For the samba
> >>>> bindings this is system-config-printer depending on gvfs-backends, depending on
> >>>> samba-libs.
> >>>
> >>> I think getting rid of the Python dependency in samba-libs is a much
> >>> easier to achieve goal here.
> >>>
> >>> AFAICT The only reason that samba-libs depends on python is because
> >>> libsamba-net can do provisioning of a local DC (requires the 'samba'
> >>> package to be installed) by invoking the provision script using Python.
> >>>
> >>> So if we could move that functionality out to a separate library that
> >>> is not included with samba-libs, we could drop the dependency on
> >>> python2 in samba-libs.
> >>
> >> right, that would get rid off python libs and python-talloc.  However there is
> >> another path in that nautilus-share depends on samba-common | samba-common-bin,
> >> which depend on python-samba.
> >>
> >> and
> >> $ reverse-depends nautilus-share
> >> Reverse-Recommends
> >> ==================
> >> * ubuntu-desktop
> >> * ubuntu-gnome-desktop
> >> * ubuntukylin-desktop
> > 
> > What does it need that dependency for? I would imagine it just uses
> > libsmbclient.
> 
> it doesn't use libsmbclient, it uses the
> 
>   net usershare
> 
> and
> 
>   testparm -s --parameter-name='usershare allow guests
> 
> commands.
> 
> Now, with:
> 
> Description: Nautilus extension to share folder using Samba
>  Nautilus Share allows you to quickly share a folder from
>  the GNOME Nautilus file manager without requiring root access.
> 
> it requires samba to work, so the package installs samba before running
> anything. I still have to find out why it needs to run these two commands before
> installing samba anyway.

Ah, of course. Why does it not have a hard dependency on Samba
in that case? It seems like sharing folders over SMB is impossible
without the server.

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150405/701cf76b/attachment.sig>


More information about the Pkg-samba-maint mailing list