How To Install sssd-ldap on Ubuntu 20.04

In this tutorial we learn how to install sssd-ldap on Ubuntu 20.04. sssd-ldap is System Security Services Daemon – LDAP back end System Security Services Daemon – LDAP back end System Security Services Daemon – LDAP back end

Introduction

In this tutorial we learn how to install sssd-ldap on Ubuntu 20.04.

What is sssd-ldap

sssd-ldap is:

Provides the LDAP back end that the SSSD can utilize to fetch identity data from and authenticate against an LDAP server.

Package: sssd-ldap Architecture: amd64 Version: 2.2.3-3ubuntu0.1 Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 79 Depends: libsss-idmap0 (= 2.2.3-3ubuntu0.1), sssd-common (= 2.2.3-3ubuntu0.1), sssd-krb5-common (= 2.2.3-3ubuntu0.1), libc6 (>= 2.4), libtalloc2 (>= 2.0.4~git20101213), libtevent0 (>= 0.9.9) Recommends: ldap-utils Suggests: libsasl2-modules-ldap Breaks: sssd (« 1.10.0~beta2-1) Replaces: sssd (« 1.10.0~beta2-1) Filename: pool/main/s/sssd/sssd-ldap_2.2.3-3ubuntu0.1_amd64.deb Size: 31144 MD5sum: 6794d43059e8e25a7b300f2993b9aacf SHA1: 3c2e5503f0233ec8f9af19a0f3f96f77ad03871f SHA256: bb7d7a2e30b93d3f203083a002d2e2d64e4e9dbf566bcb0a985f8a33d76caaa3 SHA512: 5b1a7d0e5df531972fbe42360d9515e51cecfeb26a3afe35df61687963209e3f1cdca8d7655e616b8fe80458ecde33fbdb3c5163c097236d4f00ef17669728b9 Homepage: https://github.com/SSSD/sssd Description-en: System Security Services Daemon – LDAP back end Provides the LDAP back end that the SSSD can utilize to fetch identity data from and authenticate against an LDAP server.

Package: sssd-ldap Architecture: amd64 Version: 2.2.3-3 Priority: extra Section: utils Source: sssd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian SSSD Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 79 Depends: libsss-idmap0 (= 2.2.3-3), sssd-common (= 2.2.3-3), sssd-krb5-common (= 2.2.3-3), libc6 (>= 2.4), libtalloc2 (>= 2.0.4~git20101213), libtevent0 (>= 0.9.9) Recommends: ldap-utils Suggests: libsasl2-modules-ldap Breaks: sssd (« 1.10.0~beta2-1) Replaces: sssd (« 1.10.0~beta2-1) Filename: pool/main/s/sssd/sssd-ldap_2.2.3-3_amd64.deb Size: 31092 MD5sum: e5d7f07a75352690d77305f2afe97f2d SHA1: b8f880e28e20ed86547a0ea34d566b3a751284b2 SHA256: 82ad5b21c0c2e9ba4bb7d963e4e9c52a600d420c33e9c1d84519dec1cf5d2cb6 Homepage: https://github.com/SSSD/sssd Description-en: System Security Services Daemon – LDAP back end Provides the LDAP back end that the SSSD can utilize to fetch identity data from and authenticate against an LDAP server.

There are three methods to install sssd-ldap 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 sssd-ldap Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install sssd-ldap using apt-get by running the following command:

sudo apt-get -y install sssd-ldap

Install sssd-ldap Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sssd-ldap using apt by running the following command:

sudo apt -y install sssd-ldap

Install sssd-ldap 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 sssd-ldap using aptitude by running the following command:

sudo aptitude -y install sssd-ldap

How To Uninstall sssd-ldap on Ubuntu 20.04

To uninstall only the sssd-ldap package we can use the following command:

sudo apt-get remove sssd-ldap

Uninstall sssd-ldap And Its Dependencies

To uninstall sssd-ldap and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove sssd-ldap

Remove sssd-ldap Configurations and Data

To remove sssd-ldap configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge sssd-ldap

Remove sssd-ldap configuration, data, and all of its dependencies

We can use the following command to remove sssd-ldap configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge sssd-ldap

References

Summary

In this tutorial we learn how to install sssd-ldap package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.