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.
101 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:
Name Service Cache Daemon
4daemon for NSS and PAM lookups using LDAP