Suporte - KONTROL
2019-Apr-03 22:36 UTC
[Samba] SAMBA 48 - Dependencies Python27 vs python36
Hi Andrew, Thanks much for the message. As I am using FreeBSD 12, that´s the latest SAMBA version available via PKG support, although I know it's possible to compile the ver 4.10 Would you mind let me know where to get its Source code and possibly some DOC material for FreeBSD compiling? I will definitively give it a try. Thanks Once again!!! Much appreciated! Fabricio. -----Original Message----- From: Andrew Bartlett [mailto:abartlet at samba.org] Sent: Wednesday, April 3, 2019 5:52 PM To: Suporte - KONTROL <suporte at kontrolsecurity.com.br>; samba at lists.samba.org Subject: Re: [Samba] SAMBA 48 - Dependencies Python27 vs python36 On Wed, 2019-04-03 at 15:37 -0300, Suporte - KONTROL via samba wrote:> Hello Everyone, > > Good morning/afternoon/evening. > > > > Is there any chance to have SAMBA 48 working with Python36 and its > derivatives? ( py36-dnspython-1.15.0.txz. py36-iso8601-0.1.11.txz, > py36-ply-3.11.txz, py36-setuptools-40.6.2.txz) > > Currently SAMBA 48 requires python 26, but that is conflicting with > existing packages in the server that is using py36.No, you need to upgrade to Samba 4.10 to get Python 3.x support.> Any way to work around that issue?This, along with many other good reasons, is why we put so much effort into Python 3.x support, and we would love to see it being used. Thanks, Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Development and Support, Catalyst IT https://catalyst.net.nz/services/samba
Andrea Venturoli
2019-Apr-04 06:38 UTC
[Samba] SAMBA 48 - Dependencies Python27 vs python36
On 4/4/19 12:36 AM, Suporte - KONTROL via samba wrote:> Hi Andrew, > Thanks much for the message. > > As I am using FreeBSD 12, that´s the latest SAMBA version available via PKG support, although I know it's possible to compile the ver 4.10 > Would you mind let me know where to get its Source code and possibly some DOC material for FreeBSD compiling? > I will definitively give it a try.I guess you could have a look at the net/samba48 port and use that as a base to create a new one. If you are not interested in creating a full port, but want Samba 4.10 up as quickly as possible, at least you'll find a lot of patches which were needed for 4.8 and are possibly useful for 4.10: remove them and add new ones as needed. However, I suppose others might already be working on this, so I suggest you don't waste your time in a duplicate effort, but rather contact the maintainer and ask about the current status. As a side note, I tend to run Samba (as well as all other non trivial software) in their own jail, so their dependencies won't conflict with other software. Beware, however, that there are some bugs wrt to Samba in a jail, which need to be worked around. HTH. bye av.
Andrew Bartlett
2019-Apr-04 07:41 UTC
[Samba] SAMBA 48 - Dependencies Python27 vs python36
On Thu, 2019-04-04 at 08:38 +0200, Andrea Venturoli via samba wrote:> On 4/4/19 12:36 AM, Suporte - KONTROL via samba wrote: > > > > Hi Andrew, > > Thanks much for the message. > > > > As I am using FreeBSD 12, that´s the latest SAMBA version available > > via PKG support, although I know it's possible to compile the ver > > 4.10 > > Would you mind let me know where to get its Source code and > > possibly some DOC material for FreeBSD compiling? > > I will definitively give it a try. > I guess you could have a look at the net/samba48 port and use that as > a > base to create a new one. > If you are not interested in creating a full port, but want Samba > 4.10 > up as quickly as possible, at least you'll find a lot of patches > which > were needed for 4.8 and are possibly useful for 4.10: remove them > and > add new ones as needed.Timur did submit a lot of patches upstream, so there should be less needed. The Samba Team strongly encourages those packaging Samba not to maintain local patches, and if they must do so only after the patches have been submitted and accepted upstream for master. This helps reduce the divergence and maintenance overhead in the long- term.> However, I suppose others might already be working on this, so I > suggest > you don't waste your time in a duplicate effort, but rather contact > the > maintainer and ask about the current status.I've CC'ed Timur. Thanks, Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba