[Samba] Samba 4.10 / CentOS 7

vincent at cojot.name vincent at cojot.name
Tue Mar 31 12:27:47 UTC 2020


On Tue, 31 Mar 2020, henri transfert via samba wrote:

> Ok Thank you Andrew
>
> So I assume it is reasonable to install all packages listed for the CentOS8
> in a CentOS7 server , I already have EPEL repo configured.

Don't install centos8 packages on an centos7 system, it would probably 
break some things. Instead -add- the python3 rpms for Centos7.

> Our Samba 4.9 AD DC is source compiled and I would like to upgrade by
> compiling and installing 4.10 .
> So my other question is : is it possible to have python3 and python2 live
> together on the same server ?

Yes, works perfectly fine:

# python -V
Python 2.7.5

# python3 -V
Python 3.6.8

# lsb_release -a
LSB Version:
:core-4.1-amd64:core-4.1-ia32:core-4.1-noarch[.....]
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 7.7 (Maipo)
Release:        7.7
Codename:       Maipo

Regards,

Vincent

> Thanks
>
>
> Le mar. 31 mars 2020 à 12:41, Andrew Bartlett <abartlet at samba.org> a écrit :
>
>> On Tue, 2020-03-31 at 09:41 +0400, henri transfert via samba wrote:
>>> Hi,
>>>
>>> I intend to upgrade our Samba AD DC from 4.9 to 4.10 on a CentOS 7
>>> server .
>>> On the Wiki page :
>>>
>>
>> https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Manually_maintained_Distribution-specific_Package_lists
>>> <
>>>
>> https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
>>>>
>>>
>>> the yum command that lists all needed packages includes python3 for
>>> RHEL 8
>>> / CentOS 8 , but python2 for RHEL 7 / CentOS7 .
>>> It there any reason for that ?
>>> Do I have to use python2 because of the CentOS7 server ?
>>
>> It is probably more that RHEL8 moved to python3 than anything else.
>>
>> Now that RHEL7 updates have python3 it seems resonable to use that
>> there as well.  In the past you had to get it from EPEL.
>>
>> In the long term the reason why we moved to the 'verified package
>> lists' is to avoid this kind of inconsistency (instead, we suggest too
>> many packages, because development != production...).
>>
>> Andrew Bartlett
>> --
>> Andrew Bartlett                       https://samba.org/~abartlet/
>> Authentication Developer, Samba Team  https://samba.org
>> Samba Developer, Catalyst IT
>> https://catalyst.net.nz/services/samba
>>
>>
>>
>>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list