nslcd(8)
๐ nslcd โ local LDAP name service daemon ๐
okay bestie, sit down, hydrate, and let me tell you about nslcd(8) from the System Manager's Manual โ she's the daemon that goes and asks LDAP all your naming questions so your local processes don't have to ๐ซถ
โจ NAME โจ
nslcd โ local LDAP name service daemon ๐
๐ SYNOPSIS ๐
nslcd [options]
๐ฆ DESCRIPTION ๐ฆ
So nslcd is a daemon that does LDAP queries on behalf of local processes that want to do user, group and other naming lookups โ that's NSS โ or that want to do user authentication, authorisation or password modification โ that's PAM. she's basically the middle bestie between your machine and the directory server, no cap โจ
nslcd gets configured through a configuration file (peep nslcd.conf(5) if you wanna see her settings, iykyk).
Also, lowkey important: see the included README for the deets on configuring the LDAP server itself. that part is not in this page, bestie, go read the README ๐
๐ธ OPTIONS ๐ธ
nslcd accepts the following options:
-c,--checkโ checks if the daemon is running. this makesnslcdreturn0if the daemon is already running and1if it is not. vibe check for the daemon itself, fr fr โจ-d,--debugโ turns on debugging mode.nslcdwill not put itself in the background, and it sends verbose debugging info tostderr.nslcdwill handle connections as usual though. this option is for debugging purposes only โ specify this option multiple times to also include more detailed logging from the LDAP library ๐ฅ-n,--noforkโ do not fork or daemonise, and runnslcdin the foreground. main character stays visible ๐-f,--configFILE โ parse the supplied configuration file in place of the default/etc/nslcd.conffile.-t,--testโ validate the configuration and exit. this performs syntax checking of the configuration, checks for presence of files referred in the configuration and does some minimal other sanity checking. this makesnslcdreturn0if the configuration appears valid and1if it is not. it's giving "read the receipt before you buy" ๐งพโจ--helpโ display short help and exit. ๐ซถ-V,--versionโ output version information and exit.
๐ SIGNALS ๐
SIGTERM/SIGINTโ cancel any running queries and exit. she's done, she's leaving, periodt โ๏ธSIGUSR1โ causenslcdto retry any failing connections to the LDAP server, regardless of thereconnect_sleeptimeandreconnect_retrytimeoptions. like, she does not care what the config says about waiting, she's trying again rn ๐ฅ
๐ FILES ๐
/etc/nslcd.confโ the configuration file (seenslcd.conf(5))
๐ SEE ALSO ๐
๐ AUTHOR ๐
This manual was written by Arthur de Jong <arthur@arthurdejong.org>.
and that's the whole page, bestie!! ๐ she's Version 0.9.13, dated Feb 2025, and this whole glow-up was nslcd(8) โ go forth and LDAP responsibly, you ate ๐
โจ๐
๐ฆ where this page comes from
- arch rolling: nss-pam-ldapd 0.9.13-1 ยท LGPL2.1
- debian trixie: nslcd 0.9.13-1
- nixos 26.05: nss-pam-ldapd 0.9.13
- nixpkgs unstable: nss-pam-ldapd 0.9.13
- ubuntu questing: nslcd 0.9.13-1
- ubuntu questing: nslcd 0.9.13-1ubuntu0.1
- ubuntu resolute: nslcd 0.9.13-2ubuntu2
- ubuntu stonking: nslcd 0.9.13-2ubuntu2
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms