[Pkg-samba-maint] Bug#781913: Bug#781913: please build bindings for Python3 and let samba-common-bin use them
Matthias Klose
doko at debian.org
Sun Apr 5 16:53:52 UTC 2015
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.
Matthias
More information about the Pkg-samba-maint
mailing list