How To Install samba-winbind on CentOS 8

samba-winbind is Samba winbind

Introduction

In this tutorial we learn how to install samba-winbind on CentOS 8.

What is samba-winbind

The samba-winbind package provides the winbind NSS library, and some client tools. Winbind enables Linux to be a full member in Windows domains and to use Windows user and group accounts on Linux.

We can use yum or dnf to install samba-winbind on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install samba-winbind.

Install samba-winbind on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install samba-winbind using dnf by running the following command:

sudo dnf -y install samba-winbind

Install samba-winbind on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install samba-winbind using yum by running the following command:

sudo yum -y install samba-winbind

How To Uninstall samba-winbind on CentOS 8

To uninstall only the samba-winbind package we can use the following command:

sudo dnf remove samba-winbind

samba-winbind Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/b8650fdb1c68ab5f03638cf1c41851ae2929b1
/usr/lib/.build-id/2d/dd8cb28c74079c72f4b6132713ee09453bed64
/usr/lib/.build-id/37/7c93798fafd9724ae7ddeac036ea80c33d0a42
/usr/lib/.build-id/56/69a99e16b834cc11d4058dade87dae3f314baf
/usr/lib/.build-id/59/8c9ae092fb724cc99ce806c4560693eed2c836
/usr/lib/.build-id/63/6675f9f8543ae3e30ef562561eac1dc0cc97c2
/usr/lib/.build-id/70/4fedf19b9200830377f9a1de94948d08154429
/usr/lib/.build-id/78/38587396f5b24f732d6df460629fe0c18545e5
/usr/lib/.build-id/89/f2f5e6eb238c47659c93c1e753bb53dd5dd98a
/usr/lib/.build-id/8f/518de139e6560463f8600d28656d0e1982caad
/usr/lib/.build-id/98/51de0851dc6bf969374cb6f71e8939d728d9fe
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/c9ccfa7a0972020098515b077c8de94b76754f
/usr/lib/.build-id/b3/6606e694193e3433cb04da92d5c83a178306d8
/usr/lib/.build-id/c1/67f3ed5e5ef433005c8673b6d6b0950fcbfa48
/usr/lib/.build-id/f0/3f2633a0f8e36f5d23bd217248360ef2266944
/usr/lib/NetworkManager
/usr/lib/NetworkManager/dispatcher.d
/usr/lib/NetworkManager/dispatcher.d/30-winbind
/usr/lib/systemd/system/winbind.service
/usr/lib64/samba/idmap
/usr/lib64/samba/idmap/ad.so
/usr/lib64/samba/idmap/autorid.so
/usr/lib64/samba/idmap/hash.so
/usr/lib64/samba/idmap/ldap.so
/usr/lib64/samba/idmap/rfc2307.so
/usr/lib64/samba/idmap/rid.so
/usr/lib64/samba/idmap/script.so
/usr/lib64/samba/idmap/tdb2.so
/usr/lib64/samba/libidmap-samba4.so
/usr/lib64/samba/libnss-info-samba4.so
/usr/lib64/samba/nss_info
/usr/lib64/samba/nss_info/hash.so
/usr/lib64/samba/nss_info/rfc2307.so
/usr/lib64/samba/nss_info/sfu.so
/usr/lib64/samba/nss_info/sfu20.so
/usr/sbin/winbindd
/usr/share/man/man8/idmap_ad.8.gz
/usr/share/man/man8/idmap_autorid.8.gz
/usr/share/man/man8/idmap_hash.8.gz
/usr/share/man/man8/idmap_ldap.8.gz
/usr/share/man/man8/idmap_nss.8.gz
/usr/share/man/man8/idmap_rfc2307.8.gz
/usr/share/man/man8/idmap_rid.8.gz
/usr/share/man/man8/idmap_script.8.gz
/usr/share/man/man8/idmap_tdb.8.gz
/usr/share/man/man8/idmap_tdb2.8.gz
/usr/share/man/man8/winbindd.8.gz
/var/lib/samba/winbindd_privileged

References

Summary

In this tutorial we learn how to install samba-winbind on CentOS 8 using yum and dnf.