How To Install libpam-winbind on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpam-winbind
on Ubuntu 20.04.
What is libpam-winbind
libpam-winbind is:
Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as an NT4-style domain controller, and can integrate with both NT4 domains and Active Directory realms as a member server.
This package provides pam_winbind, a plugin that integrates with a local winbindd server to provide Windows domain authentication to the system. Task: samba-server
Package: libpam-winbind Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Multi-Arch: same Priority: optional Section: net Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 216 Pre-Depends: dpkg (>= 1.15.6~) Depends: libpam-runtime (>= 1.0.1-6), libpam0g (>= 1.1.3-2~), samba-common (= 2:4.11.6+dfsg-0ubuntu1.8), winbind:any (= 2:4.11.6+dfsg-0ubuntu1.8), libbsd0 (>= 0.0), libc6 (>= 2.8), libtalloc2 (>= 2.2.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8) Suggests: libnss-winbind Filename: pool/main/s/samba/libpam-winbind_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 30636 MD5sum: c81a1e53c34056a066bf7a3ebd68d838 SHA1: f58ae08fc1c64b8407a1d3dfcde7eb9155fa4e77 SHA256: 22767baee967dd0863eada4cff95e22e8cca83f79d0d5da2f80bdf7e8bb5ce93 SHA512: 000531301ad2802b15e1e69d8f702b54f13f71b56395d07a78ff3e77383c25a02a543abdf57b55d0898c3281886d8cde0a131ac0772f1776313ba10a0773f57d Homepage: http://www.samba.org Description-en: Windows domain authentication integration plugin Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as an NT4-style domain controller, and can integrate with both NT4 domains and Active Directory realms as a member server.
This package provides pam_winbind, a plugin that integrates with a local winbindd server to provide Windows domain authentication to the system. Task: samba-server
Package: libpam-winbind Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Multi-Arch: same Priority: optional Section: net Source: samba Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Samba Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 214 Pre-Depends: dpkg (>= 1.15.6~) Depends: libpam-runtime (>= 1.0.1-6), libpam0g (>= 1.1.3-2~), samba-common (= 2:4.11.6+dfsg-0ubuntu1), winbind:any (= 2:4.11.6+dfsg-0ubuntu1), libbsd0 (>= 0.0), libc6 (>= 2.8), libtalloc2 (>= 2.2.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1) Suggests: libnss-winbind Filename: pool/main/s/samba/libpam-winbind_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 30624 MD5sum: 0e74eae630a266713e8e94eb3c6e5a03 SHA1: 1a860db07bee28bfc6936951d2cb4aea491042ec SHA256: 01aeab5359b4f90efc3d262f235fab597a17726dfe8086666599b7093d58d951 Homepage: http://www.samba.org Description-en: Windows domain authentication integration plugin Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as an NT4-style domain controller, and can integrate with both NT4 domains and Active Directory realms as a member server.
This package provides pam_winbind, a plugin that integrates with a local winbindd server to provide Windows domain authentication to the system. Task: samba-server
There are three methods to install libpam-winbind
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libpam-winbind Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libpam-winbind
using apt-get
by running the following command:
sudo apt-get -y install libpam-winbind
Install libpam-winbind Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpam-winbind
using apt
by running the following command:
sudo apt -y install libpam-winbind
Install libpam-winbind Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libpam-winbind
using aptitude
by running the following command:
sudo aptitude -y install libpam-winbind
How To Uninstall libpam-winbind on Ubuntu 20.04
To uninstall only the libpam-winbind
package we can use the following command:
sudo apt-get remove libpam-winbind
Uninstall libpam-winbind And Its Dependencies
To uninstall libpam-winbind
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpam-winbind
Remove libpam-winbind Configurations and Data
To remove libpam-winbind
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpam-winbind
Remove libpam-winbind configuration, data, and all of its dependencies
We can use the following command to remove libpam-winbind
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpam-winbind
References
Summary
In this tutorial we learn how to install libpam-winbind
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.