How To Install nss-pam-ldapd on Fedora 36

In this tutorial we learn how to install nss-pam-ldapd in Fedora 36. nss-pam-ldapd is An nsswitch module which uses directory servers

Introduction

In this tutorial we learn how to install nss-pam-ldapd on Fedora 36.

What is nss-pam-ldapd

The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name service information (users, groups, etc.) on behalf of a lightweight nsswitch module.

We can use yum or dnf to install nss-pam-ldapd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nss-pam-ldapd.

Install nss-pam-ldapd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install nss-pam-ldapd using dnf by running the following command:

sudo dnf -y install nss-pam-ldapd

Install nss-pam-ldapd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nss-pam-ldapd using yum by running the following command:

sudo yum -y install nss-pam-ldapd

How To Uninstall nss-pam-ldapd on Fedora 36

title: “How To Install nss-pam-ldapd on Fedora 36”

linkTitle: “nss-pam-ldapd” type: “docs” To uninstall only the nss-pam-ldapd package we can use the following command:

description: “In this tutorial we learn how to install nss-pam-ldapd in Fedora 36. nss-pam-ldapd is An nsswitch module which uses directory servers”

date: "2022-08-17"
sudo dnf remove nss-pam-ldapd
lastmod: "2022-08-17"

#image: /images/fedora/36/nss-pam-ldapd-featured.png


nss-pam-ldapd Package Contents on Fedora 36

Introduction


In this tutorial we learn how to install `nss-pam-ldapd` on Fedora 36.

### What is `nss-pam-ldapd`

> The nss-pam-ldapd daemon, nslcd, uses a directory server to look up name service information (users, groups, etc.) on behalf of a lightweight nsswitch module.  

We can use `yum` or `dnf` to install `nss-pam-ldapd` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nss-pam-ldapd.

## Install nss-pam-ldapd on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install nss-pam-ldapd using dnf by running the following command:

sudo dnf -y install nss-pam-ldapd

/etc/nslcd.conf /lib64/libnss_ldap.so /lib64/libnss_ldap.so.2 /lib64/security/pam_ldap.so /run/nslcd /usr/lib/.build-id /usr/lib/.build-id/7f /usr/lib/.build-id/7f/08e55c789aac0d9158038736a6ec78901847c0 /usr/lib/.build-id/a0 /usr/lib/.build-id/a0/c9f09d92d3734c567af94228f282bb867ec5e7 /usr/lib/.build-id/d1 /usr/lib/.build-id/d1/8d65db0016dde5f6f0714d58008fe1a9dc3946 /usr/lib/systemd/system/nslcd.service /usr/lib/tmpfiles.d/nss-pam-ldapd.conf /usr/sbin/nslcd /usr/share/doc/nss-pam-ldapd /usr/share/doc/nss-pam-ldapd/AUTHORS /usr/share/doc/nss-pam-ldapd/COPYING /usr/share/doc/nss-pam-ldapd/ChangeLog /usr/share/doc/nss-pam-ldapd/HACKING /usr/share/doc/nss-pam-ldapd/NEWS /usr/share/doc/nss-pam-ldapd/README /usr/share/doc/nss-pam-ldapd/TODO /usr/share/man/man5/nslcd.conf.5.gz /usr/share/man/man8/nslcd.8.gz /usr/share/man/man8/pam_ldap.8.gz


## Install nss-pam-ldapd on Fedora 36 Using yum
## References


Update yum database with `yum` using the following command.
* [nss-pam-ldapd website](http://arthurdejong.org/nss-pam-ldapd/)


```bash
## Summary
sudo yum makecache --refresh

In this tutorial we learn how to install nss-pam-ldapd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/). After updating yum database, We can install nss-pam-ldapd using yum by running the following command:

sudo yum -y install nss-pam-ldapd

How To Uninstall nss-pam-ldapd on Fedora 36

To uninstall only the nss-pam-ldapd package we can use the following command:

sudo dnf remove nss-pam-ldapd

nss-pam-ldapd Package Contents on Fedora 36

/etc/nslcd.conf
/lib/libnss_ldap.so
/lib/libnss_ldap.so.2
/lib/security/pam_ldap.so
/run/nslcd
/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/5f0d4c1669068c7e74d36d8c6d4b9e91f34da6
/usr/lib/.build-id/be
/usr/lib/.build-id/be/412efe8be9741f8b4f0e752112fb5706d53026
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/c75a9006b5d3eb00526cbfa606fcb0fd82b07a
/usr/lib/systemd/system/nslcd.service
/usr/lib/tmpfiles.d/nss-pam-ldapd.conf
/usr/sbin/nslcd
/usr/share/doc/nss-pam-ldapd
/usr/share/doc/nss-pam-ldapd/AUTHORS
/usr/share/doc/nss-pam-ldapd/COPYING
/usr/share/doc/nss-pam-ldapd/ChangeLog
/usr/share/doc/nss-pam-ldapd/HACKING
/usr/share/doc/nss-pam-ldapd/NEWS
/usr/share/doc/nss-pam-ldapd/README
/usr/share/doc/nss-pam-ldapd/TODO
/usr/share/man/man5/nslcd.conf.5.gz
/usr/share/man/man8/nslcd.8.gz
/usr/share/man/man8/pam_ldap.8.gz

References

Summary

In this tutorial we learn how to install nss-pam-ldapd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).