frsoftware/samba4

Project ID: 53374

Description

Samba 4 AD COPR Repository for CentOS

Largely inspired from samba4repo from Nico Kadel-Garcia.

About Samba

Samba is a free software re-implementation of the SMB networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member. As of version 4, it supports Active Directory and Microsoft Windows NT domains.

Samba runs on most Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple's macOS Server, and macOS client (Mac OS X 10.2 and greater). Samba also runs on a number of other operating systems such as OpenVMS and IBM i. Samba is standard on nearly all distributions of Linux and is commonly included as a basic system service on other Unix-based operating systems as well. Samba is released under the terms of the GNU General Public License. The name Samba comes from SMB (Server Message Block), the name of the proprietary protocol used by the Microsoft Windows network file system.

Installation Instructions

Install repository

dnf copr enable -y frsoftware/samba4 dnf install -y epel-release

CAUTION RPM DEPENDENCIES

  1. Always save your domain configuration and consider fresh install.

  2. Be extra careful if you update samba RPMs directly, disable copr repo by default. if anything goes wrong consider downgrading:

    dnf downgrade samba --allowerasing --enablerepo=copr:copr.fedorainfracloud.org:frsoftware:samba4
  3. No more CentOS 7 RPMs beyond samba version 4.15, the dependency tree pulls the whole house,

  4. The following libraries are all now compiled internally with the Samba tarball. Building them separately conflicts with the versions used by sssd especially RHEL8: libtalloc, libtdb, libldb and libtevent.

  5. Exclude packages from normal repositories To avoid some packages being superseded by main OS repository, find the baseos declaration in /etc/yum.repos.d and add the following excludes:

    For EPEL7:

    exclude=samba* libldb* libtdb* libtalloc* libtevent* liburing* lmdb* python*-samba* libsmbclient* ctdb* libwbclient* python*-talloc* python*-tevent* python*-ldb* ldb-tools* tdb-tools* python*-tdb*
  6. Starting with samba version 4.18, libtalloc, libtdb, libldb and libtevent are embedded with Samba to avoid conflicts with sssd. liburing and lmdm are no longer necessary. If you upgrade samba, you may need the option --allowerasing for yum update to perform.

    For CentOS8/RHEL8/EPEL8:

    exclude=samba* python*-samba* libsmbclient* ctdb* libwbclient* python*-talloc*

    For CentOS9/RHEL9/EPEL9:

    exclude=samba* python*-samba* libsmbclient* ctdb* libwbclient*

Install Samba 4 AD

Please refer to User Documentaion on Samba Wiki

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream+epel-next 8 x86_64 (8)* Centos-stream+epel-next 8 (3 downloads)
Centos-stream+epel-next 9 x86_64 (1)* Centos-stream+epel-next 9 (3 downloads)
Centos-stream 8 x86_64 (1213)* Centos-stream 8 (53 downloads)
Centos-stream 9 x86_64 (1373)* Centos-stream 9 (50 downloads)
EPEL 7 x86_64 (1699)* EPEL 7 (69 downloads)
EPEL 8 x86_64 (2186)* EPEL 8 (58 downloads)
EPEL 9 x86_64 (2199)* EPEL 9 (66 downloads)
Rhel 8 x86_64 (40)* Rhel 8 (14 downloads)
Rhel 9 x86_64 (45)* Rhel 9 (19 downloads)

* Total number of downloaded packages.