Celeb Glow
news | March 21, 2026

Why does (package) nslcd recommend nscd?

The two packages seem to do the same function (caching data)

I'm currently debugging LDAP client configuration, so I'm wondering if these packages are really useful.

10

1 Answer

nscd and nslcd are not the same and also not similar, read the man pages. nscd isn't neccessary but recommended by the package maintainers and for this reason nslcd recommends nscd.


From man nscd

DESCRIPTION Nscd caches libc-issued requests to the Name Service. If retrieving NSS data is fairly expensive, nscd is able to speed up consecutive access to the same data dramatically and increase overall system performance. Nscd should be run at boot time by /etc/init.d/nscd.

From man nslcd

DESCRIPTION nslcd is a daemon that will do LDAP queries for local processes that want to do user, group and other naming lookups (NSS) or do user authentication, authorisation or password modification (PAM).

Perhaps you have read another description. My description says:

nscd

Name Service Cache Daemon

nslcd

daemon for NSS and PAM lookups using LDAP

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy