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. 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 ? 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 > > > >
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 >
Le mar. 31 mars 2020 ? 16:28, Vincent S. Cojot via samba < samba at lists.samba.org> a ?crit :> > 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. >Yes of course . By installing I mean the standard way with the yum command on CentOS7 . The python3 packages seems to be also included in the EPEL repo. What are the minimum python3 packages required to compile and run Samba AD DC ?> > > 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 >Thank you 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On Tue, 2020-03-31 at 13:33 +0400, 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.I can't confirm that. The two Operating systems, while similar, may well have differences.> 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, you can install Python3 and Python2 on the same server. Be aware: Samba 4.10 is currently in the last 6 months of security support. I recommend considering Samba 4.12 in the near future to give yourself a longer supported lifetime for the installation, but be aware of the GnuTLS requirement if you still use RHEL7. 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