Hi everyone, In case anyone's interested, I've posted some rpm builds of samba 4.11.1 for RHEL/Centos 7.x (currently 7.7). The samba 4.11.1 SPEC file is closely based on the Fedora Samba 4.11.1 SPEC file with some additions for using Samba as an AD/DC. These rpms use the python3 and python3-devel rpms introduced in the standard RHEL/Centos repos at the same time as the 7.7 version. Because some python modules needed by samba weren't available as python3-* modules on RHEL7, I had to rebuild a few of those and attempt to make them non-intrusive (to the default python2-based part of the base OS(). Comments and testing feedback would be most welcomed. http://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.1 Kind Regards, Vincent Ref: [root at bdc411x ~]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 7.7 (Maipo) Release: 7.7 Codename: Maipo [root at bdc411x ~]# samba-tool --version 4.11.1 [root at bdc411x ~]# rpm -qa|grep 4.11.1-5.5 samba-krb5-printing-4.11.1-5.5.el7.x86_64 libwbclient-devel-4.11.1-5.5.el7.x86_64 samba-common-4.11.1-5.5.el7.noarch samba-common-tools-4.11.1-5.5.el7.x86_64 samba-client-4.11.1-5.5.el7.x86_64 samba-devel-4.11.1-5.5.el7.x86_64 samba-client-libs-4.11.1-5.5.el7.x86_64 samba-libs-4.11.1-5.5.el7.x86_64 python3-samba-test-4.11.1-5.5.el7.x86_64 samba-pidl-4.11.1-5.5.el7.noarch samba-common-libs-4.11.1-5.5.el7.x86_64 python3-samba-4.11.1-5.5.el7.x86_64 samba-test-4.11.1-5.5.el7.x86_64 samba-winbind-clients-4.11.1-5.5.el7.x86_64 libsmbclient-devel-4.11.1-5.5.el7.x86_64 libwbclient-4.11.1-5.5.el7.x86_64 samba-4.11.1-5.5.el7.x86_64 samba-winbind-4.11.1-5.5.el7.x86_64 samba-test-libs-4.11.1-5.5.el7.x86_64 samba-vfs-glusterfs-4.11.1-5.5.el7.x86_64 python3-samba-dc-4.11.1-5.5.el7.x86_64 samba-winbind-modules-4.11.1-5.5.el7.x86_64 ctdb-tests-4.11.1-5.5.el7.x86_64 samba-dc-bind-dlz-4.11.1-5.5.el7.x86_64 samba-dc-libs-4.11.1-5.5.el7.x86_64 ctdb-4.11.1-5.5.el7.x86_64 samba-winbind-krb5-locator-4.11.1-5.5.el7.x86_64 libsmbclient-4.11.1-5.5.el7.x86_64 samba-dc-4.11.1-5.5.el7.x86_64
On Thu, Oct 24, 2019 at 12:43 PM Vincent S. Cojot via samba <samba at lists.samba.org> wrote:> > > Hi everyone, > > In case anyone's interested, I've posted some rpm builds of samba 4.11.1 > for RHEL/Centos 7.x (currently 7.7). The samba 4.11.1 SPEC file is closely > based on the Fedora Samba 4.11.1 SPEC file with some additions for using > Samba as an AD/DC.You do realize I've been publishing .spec files and build tools for all of this for a while now, with hooks to build for CentOS 7, 8, and Fedora 30 with full AD features enabled for a few years now? My source repo is over at https://github.com/nkadel/samba4repo . I'm curious if you left the "--with-experimental-mit-ad-dc" features enabled, because I turned those off as "not yet ready for prime time". And yes, the switch to python3 is important.> These rpms use the python3 and python3-devel rpms introduced in the > standard RHEL/Centos repos at the same time as the 7.7 version. > Because some python modules needed by samba weren't available as python3-* > modules on RHEL7, I had to rebuild a few of those and attempt to make them > non-intrusive (to the default python2-based part of the base OS(). > > Comments and testing feedback would be most welcomed. > > http://nova.polymtl.ca/~coyote/dist/samba/samba-4.11.1 > > Kind Regards, > > Vincent
On Thu, 24 Oct 2019, Nico Kadel-Garcia wrote:> You do realize I've been publishing .spec files and build tools for > all of this for a while now, with hooks to build for CentOS 7, 8, and > Fedora 30 with full AD features enabled for a few years now? My source > repo is over at https://github.com/nkadel/samba4repo .Yes, I am aware of your efforts. Your project is much more elaborate/extensive in scope than mine: I barely seek to provide samba AD/DC rpms for people to use on RHEL/Centos. Now that RHEL7 has python3 in extras, I guess it would be easier to join forces. Right now, I'm focused on adapting the "upstream" Fedora spec file to RHEL to minimize changes for it to work properly. I'm in touch with Gunther (one of the maintainers) to try> I'm curious if you left the "--with-experimental-mit-ad-dc" features > enabled, because I turned those off as "not yet ready for prime time".In what SPEC file did you see that? It's not in any of my SPEC files.. Regards, Vincent