How To Install samba-dsdb-modules on Ubuntu 20.04

In this tutorial we learn how to install samba-dsdb-modules on Ubuntu 20.04. samba-dsdb-modules is Samba Directory Services Database Samba Directory Services Database Samba Directory Services Database

Introduction

In this tutorial we learn how to install samba-dsdb-modules on Ubuntu 20.04.

What is samba-dsdb-modules

samba-dsdb-modules is:

Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains LDB plugins which add support for various Active Directory features to the LDB library. Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop

Package: samba-dsdb-modules Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1.8 Multi-Arch: same Priority: optional Section: libs 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: 1743 Depends: libgpgme11 (>= 1.2.0), samba-libs (= 2:4.11.6+dfsg-0ubuntu1.8), libldb2 (« 2:2.0.11~), libldb2 (» 2:2.0.10~), libbsd0 (>= 0.0), libc6 (>= 2.14), libcrypt1 (>= 1:4.1.0), libgnutls30 (>= 3.6.12), libpopt0 (>= 1.14), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1.8) Enhances: libldb2 Filename: pool/main/s/samba/samba-dsdb-modules_4.11.6+dfsg-0ubuntu1.8_amd64.deb Size: 289548 MD5sum: c7e0f88b29d85a9dcef701c29a7de3a3 SHA1: d64d3a36f5ce1107aca42730842adcb5913e636b SHA256: 496cb7e0f58686ff8bf965dcac2015437eb58f7b586dbb6d1d6185d383d37bd0 SHA512: a71cb9ec1febe9f02fde82bbd05f4f114180f7705c776a1dd52138763e06335ffd1bc5c37d246d8cbaff99c45cd6401ea58a5d4af6240fc8b99da4857331340c Homepage: http://www.samba.org Description-en: Samba Directory Services Database Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains LDB plugins which add support for various Active Directory features to the LDB library. Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop

Package: samba-dsdb-modules Architecture: amd64 Version: 2:4.11.6+dfsg-0ubuntu1 Multi-Arch: same Priority: optional Section: libs 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: 1741 Depends: libgpgme11 (>= 1.2.0), samba-libs (= 2:4.11.6+dfsg-0ubuntu1), libldb2 (« 2:2.0.9~), libldb2 (» 2:2.0.8~), libbsd0 (>= 0.0), libc6 (>= 2.14), libgnutls30 (>= 3.6.10), libpopt0 (>= 1.14), libtalloc2 (>= 2.2.0~), libtdb1 (>= 1.4.2~), libtevent0 (>= 0.10.0~), libwbclient0 (= 2:4.11.6+dfsg-0ubuntu1) Enhances: libldb2 Filename: pool/main/s/samba/samba-dsdb-modules_4.11.6+dfsg-0ubuntu1_amd64.deb Size: 288292 MD5sum: 728f3dd0fe73eeb07c955183f49e8149 SHA1: daf4e09da2d1ab395c978c6ce8874dc6d4d6dc01 SHA256: ce6e685bf062c245511cd2d23f849175c84d2112a01d00bf4db64ea6d30349f5 Homepage: http://www.samba.org Description-en: Samba Directory Services Database Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as a domain controller or member server in both NT4-style and Active Directory domains.

This package contains LDB plugins which add support for various Active Directory features to the LDB library. Task: samba-server, kubuntu-desktop, kubuntu-full, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop

There are three methods to install samba-dsdb-modules 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 samba-dsdb-modules Using apt-get

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

sudo apt-get update

After updating apt database, We can install samba-dsdb-modules using apt-get by running the following command:

sudo apt-get -y install samba-dsdb-modules

Install samba-dsdb-modules Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install samba-dsdb-modules using apt by running the following command:

sudo apt -y install samba-dsdb-modules

Install samba-dsdb-modules 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 samba-dsdb-modules using aptitude by running the following command:

sudo aptitude -y install samba-dsdb-modules

How To Uninstall samba-dsdb-modules on Ubuntu 20.04

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

sudo apt-get remove samba-dsdb-modules

Uninstall samba-dsdb-modules And Its Dependencies

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

sudo apt-get -y autoremove samba-dsdb-modules

Remove samba-dsdb-modules Configurations and Data

To remove samba-dsdb-modules configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge samba-dsdb-modules

Remove samba-dsdb-modules configuration, data, and all of its dependencies

We can use the following command to remove samba-dsdb-modules configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge samba-dsdb-modules

References

Summary

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