How To Install samba-winbind.x86_64 on Amazon Linux 2

In this tutorial we learn how to install samba-winbind.x86_64 in Amazon Linux 2. samba-winbind.x86_64 is Samba winbind

Introduction

In this tutorial we learn how to install samba-winbind.x86_64 on Amazon Linux 2.

What is samba-winbind.x86_64

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 to install samba-winbind.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install samba-winbind.x86_64.

Install samba-winbind.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install samba-winbind.x86_64

How To Uninstall samba-winbind.x86_64 on Amazon Linux 2

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

sudo yum remove samba-winbind.x86_64

samba-winbind.x86_64 Package Contents on Amazon Linux 2

/etc/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.x86_64 on Amazon Linux 2 using yum.